To stop the delivery of messages, whether Pub/Sub or P2P, the stop method is called.
TopicConnection.start( ); //pub-sub
QueueConnection.start( ); //P2P
There were a few more which I can't immediately recall.
© 2016, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.