You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mickhayes <mi...@gmail.com> on 2012/06/11 10:53:20 UTC

Re: ActiveMQQueueBrowser.hasMoreElements with prefetchPolicy.all=0 blocks/hangs

http://activemq.apache.org/what-is-the-prefetch-limit-for.html is worth a
look.

"Specifying a prefetch limit of *zero* means the consumer will poll for more
messages, one at a time, instead of the message being pushed to the
consumer."

While your QueueBrowser isn't consuming messages per se, it has been created
using the ConnectionFactory to which the prefetch policy applies.



-----
Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA 

--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQQueueBrowser-hasMoreElements-with-prefetchPolicy-all-0-blocks-hangs-tp4653124p4653155.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.