We know in advance what hosts are in our cluster (say, HostA and HostB). Initially our client has to try to connect to one of them (HostA, for instance). We'd like it to try HostA and, if that doesn't work, HostB (then throw an exception on failure).<br><br>RabbitMQ.Client.ConnectionFactory.CreateConnection has a protected
overload that accepts an array of AmqpTcpEndpoint objects. Is this
exposed anywhere? Are we supposed to descend from the standard factory?<br>
<br>
Or is there a better way? We can certainly solve this by catching BrokerUnreachableException and trying the next one, but this seems like a problem that others must have solved.<br>