This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Multiple queue listeners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Multiple queue listeners" Watch "Multiple queue listeners" New topic
Author

Multiple queue listeners

Dorothy Taylor
Ranch Hand

Joined: Nov 26, 2007
Posts: 104
Hi

I have a queue in ActiveMQ server. There are two listeners(on different machines), that are listening to the same queue. This is done for faster processing of the messages in the queue. Will ActiveMQ ensure that the same message is not received by both? Also will it ensure that both listeners do not seek the same message from the queue? Essentially there should not be any conflicts since both listeners are listening to the same queue? My doubt is if ActiveMQ will ensure that processing of messages from queue is smooth.

Thanks
 
GeeCON Prague 2014
 
subject: Multiple queue listeners