activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yousafsajjad <muhammad_you...@dell.com>
Subject Re: Dispatch Policy
Date Wed, 27 Jul 2011 19:31:39 GMT
I get an error saying something like: "Illegal prefetch size of zero. This
setting is not supported for asynchronous consumers please set a value of at
least 1"

I am told NOT to make changes in the activemq source code at this stage of
the project. 

Since I am using Spring and I cannot change anything in activemq, is there
any way to change the dispatch policy to process based scheduling of
consumer just by making changes in activemq_broker.xml or any of the
camel/Spring config (bundle-context, bundle-context-camel) files?

or make consumers poll (without actually setting prefetch=0)??

--
View this message in context: http://activemq.2283324.n4.nabble.com/Default-Dispatch-Policy-and-Pending-message-Limit-Strategy-tp2365262p3699587.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message