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.
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
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
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
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.