!con #3597 Remove hand over data message in cluster singleton

This commit is contained in:
Patrik Nordwall 2013-09-10 13:35:51 +02:00
parent beba5d9f76
commit 23f933afe3
11 changed files with 89 additions and 143 deletions

View file

@ -31,13 +31,9 @@ public class ClusterSingletonManagerTest {
//#create-singleton-manager
system.actorOf(
ClusterSingletonManager.defaultProps("consumer", new End(), "worker",
new ClusterSingletonPropsFactory() {
@Override
public Props create(Object handOverData) {
return Props.create(Consumer.class, handOverData, queue, testActor);
}
}), "singleton");
ClusterSingletonManager.defaultProps(
Props.create(Consumer.class, queue, testActor), "consumer",
new End(), "worker"), "singleton");
//#create-singleton-manager
}