activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lzr <>
Subject Re:Load Balancing in ActiveMQ
Date Tue, 23 Jun 2009 05:37:33 GMT
Try this way:
Three brokers: b1, b2 and b3; with Queue named q1;
Config networkConnectors from b1 to b2 and b3;
For the Queue q1, run consumer application on b2 and b3; The messages put into q1 will be
dispatched to b2 and b3 in same weight.
I tried this configuration and found it worked well.
Good luck,
Zhuran Li

在2009-06-22,geenee1019 <> 写道:
>Could anyone let me know how to do configure load balancing in Active MQ.... 
>My requirement in For example if a queue has received 5 messages means the
>next 5 messages has to be routed to another queue and so on.... 
>I was successfully able to achieve the failover scenario i.e if a queue
>fails, the message will be routed to other queue...Now I want to know about
>load balancing. 
>View this message in context:
>Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message