That will not be a reliable solution. Anytime the failover transport is used with more than one active broker, you can get clients connected to separate brokers. Even without randomize, consider that a loss of connection due to a network disconnect will cause the client to reconnect to a different broker.
Also, when the first broker goes down and then comes back up, any clients connecting after that point will go to the first broker even though the rest are on the second broker. -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-all-clients-to-same-secondary-broker-tp4680171p4680187.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.