remove optimizedDispatch, leave it at the default false, otherwise the send thread is used to dispatch messages.
On 8 August 2012 09:14, tapan.thapa <tapan.thapa2...@gmail.com> wrote: > Hello, > > I have tested this functionality with ActiveMQ 5.6.0 and Java driver as > well. > > Java driver is still better and receiving message from all the queues but > not at the configured value. I have configured maxIterationsPerRun="1" > however java consumer is receiving almost 20 sometime 10 message from one > queue and then from second,third so on queue. > > Kindly suggest. > > My Settings under activemq.xml are: > <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb" > optimizedDispatch="true" maxPageSize="1"></policyEntry> > <taskRunnerFactory> > <taskRunnerFactory maxIterationsPerRun="1"/> > </taskRunnerFactory> > > > Regards > Tapan Thapa > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Queue-Message-Fairness-as-oppose-to-Client-Fairness-tp3423122p4654884.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com