On the ActiveMQ pages, it states that "When using Spring JMS and
MessageDrivenPojo, you cannot use a prefetch of 0, so use 1 instead."
http://activemq.apache.org/what-is-the-prefetch-limit-for.html

Is this old information? There seems to be a fair bit of old information on
the ActiveMQ website, so I can't tell if this is still correct. I am using
prefetch=0 with Spring MDP, and things seem to work. I have mostly slow
consumers, so I want messages distributed as consumers free up.

The only problem I notice is that ActiveMQ takes forever to shutdown when
prefetch=0.

-- 
View this message in context: 
http://www.nabble.com/Prefetch%3D0-not-allowed-with-Spring-MDP--tp25707024p25707024.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to