activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bwtaylor <>
Subject Re: Load balancing using Queues
Date Fri, 24 Jul 2009 17:03:41 GMT

I'll let others say how it picks which among available competing consumers
gets the next message, but there are two customizations that I'm aware of:
the exclusive consumer flag (changing load balancing to failover,
effectively) and message groups, which provide a form of consumer affinity,
so that messages in the same message group are delivered to the same
consumer, until/unless that consumer goes away, in which case a new consumer
claims the group as a whole.


Scott Lewis wrote:
> If a Queue has multiple consumers, how/what algorithm does the ActiveMQ
> broker use to choose among the available set of consumers for a given
> message?  Is this customizable somehow?
> Thanks.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message