activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickhayes <>
Subject Re: ActiveMQQueueBrowser.hasMoreElements with prefetchPolicy.all=0 blocks/hangs
Date Mon, 11 Jun 2012 08:53:20 GMT is worth a

"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

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:
Sent from the ActiveMQ - User mailing list archive at

View raw message