While
ConnectionFactory.newConnection(Address[] addrs)
and thus
ConnectionFactory.newConnection(
Address.parseAddresses("somehost.com:5672,otherhost.com:5672"))
work, I was wondering if there was a way to pass multiple URIs like:
ConectionFactory.newConnection("amqps://somehost.com:5671,amqps://otherhost.com:5671")
Or to allow potentially different client certificates for each URI, first create multiple ConnectionFactories, each with one URI and then create a ConnectionFactory that takes those connection factories as inputs.