activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: How to achieve ActiveMQ Load balanching
Date Tue, 04 Jun 2013 15:57:45 GMT
Yah, you could just pick a broker (broker1) and use that URL. But that
won't give you load balancing up front. It would if brokers were
added/removed to the cluster as clients would be rebalanced. I guess in
your specific case you'd  have to use all three urls in the failover
transport to achieve balancing up front, and then one would be randomly

The solution here might be use a vip load balancer.

If using fuse fabric, you would use the fabric transport, and that would
also hide the location of all the brokers:

new ActiveMQConnectionFactory("discovery:(fabric:<group_name>)");

On Tue, Jun 4, 2013 at 8:15 AM, Mohammed Aslam <
> wrote:

> Thanks for the reply. But could you tell me one thing, if I have network of
> brokers, say broker1, broker2, broker3, which one the the client will
> connect to?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

*Christian Posta*
twitter: @christianposta

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