activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yousafsajjad <>
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:
Sent from the ActiveMQ - User mailing list archive at

View raw message