activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Queue/Message Fairness as oppose to Client Fairness
Date Mon, 04 Apr 2011 18:40:21 GMT
To get more control of the scheduling, you will need to specify the
TaskRunnerFactory for the broker and specify 1 for the
maxIterationsPerRun so that it will move on to another task (each
destination dispatch is a task) immediately.

It may be helpful if you can provide a junit test case for your use
case such that we can be on exactly the same page w.r.t to the
requirement here. There may be more than one way to solve this.

On 4 April 2011 19:11, kapitalx <> wrote:
> Garry, Thanks for the suggestion. With the change, the broker continues to
> dispatch everything from Queue 1 before moving onto Queue 2. Just much
> slower. I still need the dispatching to alternate between queues for every
> message.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message