#2754 - adding the stopping of 0mq actors in the Java doc example as the Scala version has.

This commit is contained in:
Viktor Klang 2012-11-29 14:46:42 +01:00
parent 3a3dad5c53
commit a46b74654f

View file

@ -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),