#2754 - adding the stopping of 0mq actors in the Java doc example as the Scala version has.
This commit is contained in:
parent
3a3dad5c53
commit
a46b74654f
1 changed files with 3 additions and 0 deletions
|
|
@ -99,6 +99,9 @@ public class ZeromqDocTestBase {
|
|||
pubSocket.tell(new ZMQMessage(new Frame("foo.bar"), new Frame(payload)), null);
|
||||
//#pub-topic
|
||||
|
||||
system.stop(subSocket);
|
||||
system.stop(subTopicSocket);
|
||||
|
||||
//#high-watermark
|
||||
ActorRef highWatermarkSocket = ZeroMQExtension.get(system).newRouterSocket(
|
||||
new SocketOption[] { new Listener(listener),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue