activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: Failover configuration not working
Date Tue, 03 May 2011 21:25:24 GMT
On Tue, 2011-05-03 at 14:07 -0700, agujral wrote:
> Hi All,
>          I am using the following configuration in my activemq setup 
> failover:(tcp\://\:61616,tcp\://\:61616) for
> producers.Brokers are running on
> and . The problem is that producers always write to one
> broker and the other broker is not used. As per
>  if I use
> failover transport the producers should write to both brokers randomly
> selecting one of them at a time.
> I am using activemq 5.4 version.

The failover transport doesn't randomly send to the different brokers,
it chooses from the list of broker, one broker to connect to, either
randomly or sequentially based on configuration.  If you have multiple
applications then you can configure the URI such that each will choose
one of the brokers at random like this:



Tim Bish
Twitter: tabish121

Connect at CamelOne May 24-26

The Open Source Integration Conference

View raw message