Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
jQuery in Action, 2nd edition
 
subject: Multiple queue listeners
 
Similar Threads
Deleting JMS Messages from the QUEUE
MDB-SLSB in Component Diagrams
jms server interoperability (activemq & weblogic)
lost jms message recovery mechanism
JMS or JCA or Webservice ?