!con #3597 Remove hand over data message in cluster singleton
This commit is contained in:
parent
beba5d9f76
commit
23f933afe3
11 changed files with 89 additions and 143 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue