Re: Multiple Consumers with REST

2008-09-11 Thread yesnid
ame 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. >>>> >>>> >>> >>> >>> >> >> > > > > -- View this message in context: http://www.nabble.com/Multiple-Consumers-with-REST-tp19374412p19436143.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Multiple Consumers with REST

2008-09-11 Thread Dejan Bosanac
Hi, I've just tested and setting the message servler like this MessageServlet org.apache.activemq.web.MessageServlet 1 destinationOptions consumer.prefetchSize=1 in webapps/demo/WEB-INF/web.xml should make a pre

Re: Multiple Consumers with REST

2008-09-09 Thread yesnid
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. >> &g

Re: Multiple Consumers with REST

2008-09-09 Thread Dejan Bosanac
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.tt

Multiple Consumers with REST

2008-09-08 Thread yesnid
though I have verified that there are. Am I doing something wrong? Thank you. -- View this message in context: http://www.nabble.com/Multiple-Consumers-with-REST-tp19374412p19374412.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.