activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <>
Subject Re: Horizontally scaling JMS listener/consumer Active MQ environment
Date Sat, 26 Sep 2009 13:47:08 GMT
On Fri, Sep 25, 2009 at 10:28 PM, G1 <> wrote:
> if I can have 2 consumer's on a queue (say A and B) and the message is
> gauranteed to be delivered to only one of
> ..... does the AMQ broker decide which one
> ..... can I as the AMQ user (publisher) control which consumer shud receive
> (in effect achieve a load balance)

In addition to the prefetch, there are options to make a consumer exclusive:

You can also configure consumers to use a weighted priority:

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

ActiveMQ in Action:

View raw message