This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple queue listeners
 
Similar Threads
lost jms message recovery mechanism
MDB-SLSB in Component Diagrams
jms server interoperability (activemq & weblogic)
Deleting JMS Messages from the QUEUE
JMS or JCA or Webservice ?