activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickhayes <mickha...@gmail.com>
Subject Re: ActiveMQQueueBrowser.hasMoreElements with prefetchPolicy.all=0 blocks/hangs
Date Mon, 11 Jun 2012 08:53:20 GMT
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.

Mime
View raw message