activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Niederwieser <pnied...@gmail.com>
Subject Re: Question related to prefetch size
Date Thu, 23 Oct 2008 10:00:55 GMT


rajdavies wrote:
> 
> prefetchSize=0 is what you're probably after
> 

Thanks, that seems to do the job. However the documentation needs to be
fixed. From http://activemq.apache.org/what-is-the-prefetch-limit-for.html:

If you have very few messages and each message takes a very long time to
process you might want to set the prefetch value to 1 so that a consumer is
given one message at a time.

Cheers,
Peter

-- 
View this message in context: http://www.nabble.com/Question-related-to-prefetch-size-tp20119344p20127937.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message