activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Horizontally scaling JMS listener/consumer application.....in Active MQ environment
Date Sat, 26 Sep 2009 13:47:08 GMT
On Fri, Sep 25, 2009 at 10:28 PM, G1 <jnsunkersett@ibibo.com> 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:

http://activemq.apache.org/exclusive-consumer.html

You can also configure consumers to use a weighted priority:

http://activemq.apache.org/consumer-priority.html

Bruce
-- 
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: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message