Let me restate :)<br><br>Connection.newConnection(Address[]) seems to be the best way, short of using HAProxy, to safely attain a connection to a cluster in the presence of nodes going down. When we are mirroring queues across a cluster, is it important to connect to the "master" node for a queue, or should we randomize the Address[] to achieve some load balancing?<br>
<br>Any feedback appreciated,<br>Adam<br><br>On Mon, Jan 9, 2012 at 5:03 PM, Adam Rabung <<a href="mailto:adamrabung@gmail.com">adamrabung@gmail.com</a>> wrote:<br>> Hi,<br>> I am running an active/active cluster. The newConnection(Address[])<br>
> method of ConnectionFactory takes an array of addresses to try to<br>> connect to, in order. If I'd like to avoid HAProxy for now, it seems<br>> like it would be wise for me to randomize this array of Addresses<br>
> before calling newConnection, to achieve some degree of load<br>> balancing. Is that a worthwhile approach?<br>> Thank you,<br>> Adam<br><br>