Thursday, March 12, 2015

Multiple readers from JMS topic on Websphere MQ

If I were to do this in WebSphere MQ the solution would be to create an administrative subscription which would result in a single copy of each message on the given topic to be placed onto a queue. Then your multiple subscribers could compete for messages on that queue. 

This way your app could have multiple threads among which the messages are distributed, and at the same time other subscribers independent of this application could dynamically (un)subscribe to the same topic.

Rabbit MQ solution
http://www.rabbitmq.com/tutorials/tutorial-two-java.html

http://support.sas.com/rnd/itech/doc9/dev_guide/messageq/confmult.html