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 &quot;master&quot; 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 &lt;<a href="mailto:adamrabung@gmail.com">adamrabung@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt; I am running an active/active cluster. �The newConnection(Address[])<br>
&gt; method of ConnectionFactory takes an array of addresses to try to<br>&gt; connect to, in order. �If I&#39;d like to avoid HAProxy for now, it seems<br>&gt; like it would be wise for me to randomize this array of Addresses<br>
&gt; before calling newConnection, to achieve some degree of load<br>&gt; balancing. �Is that a worthwhile approach?<br>&gt; Thank you,<br>&gt; Adam<br><br>