I think this could be a "prefetch size issue" meaning that all your messages are being sent to the first consumer. Try setting, prefetch size for you connection between rest servlet and broker
http://activemq.apache.org/what-is-the-prefetch-limit-for.html Cheers -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/ Scripting in Java - http://www.scriptinginjava.net yesnid wrote: > Hello All, > > I am trying to have two consumers recieve messages from the same queue using > the rest interface to the ActiveMQ Broker, and am having issues where only > one of them can recieve messages at a time. The other consumer simply times > out indicating there are no messages in the queue even though I have > verified that there are. Am I doing something wrong? > > Thank you. >
