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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Multiple queue listeners" Watch "Multiple queue listeners" New topic

Multiple queue listeners

Dorothy Taylor
Ranch Hand

Joined: Nov 26, 2007
Posts: 104

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.

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 ?