activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevec <>
Subject how to set priority of brokers in failover URI
Date Tue, 26 Aug 2008 05:28:16 GMT

On the client, how do i set up the connection priority for the broker URI?


currently, the client will randomly pick an IP and try to connect to it. 
This works fine, but i do not want random.

I would like to have a list of 4 or more brokers and have the client connect
to them in order.  if the first fails, try the second, then the third, etc. 
But i would like to the clients to always try to connect to the priority.

also, if the client successfully connects to the third, and the third fails
sometime thereafter, it might be nice if it then tried to connect to the
first again, then the second, third, fourth, etc.   But i dont have to be so
picky, i would just be happy if i could control the initial connection for
bandwidth purposes.

thanks for any assistance so that i can set this up.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message