+per #16339 adds actorSelection support to AtLeastOnceDelivery

TODO: need to add docs updates
This commit is contained in:
Konrad Malawski 2015-07-09 18:01:27 +02:00
parent 235df6ce09
commit b335b6ae9b
10 changed files with 183 additions and 75 deletions

View file

@ -3,11 +3,7 @@
*/
package docs.persistence;
import akka.actor.AbstractActor;
import akka.actor.ActorPath;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import akka.actor.*;
import akka.japi.Procedure;
import akka.japi.pf.ReceiveBuilder;
import akka.pattern.BackoffSupervisor;
@ -170,9 +166,9 @@ public class LambdaPersistenceDocTest {
}
class MyPersistentActor extends AbstractPersistentActorWithAtLeastOnceDelivery {
private final ActorPath destination;
private final ActorSelection destination;
public MyPersistentActor(ActorPath destination) {
public MyPersistentActor(ActorSelection destination) {
this.destination = destination;
}