On Fri, Sep 25, 2009 at 10:28 PM, G1 <jnsunkers...@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)u8...@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