I don't think initial server discovery is the problem. Event if more servers are expliclitly listed the client never switches from the server it initially successfully connected to.
var cf = new ActiveMQConnectionFactory( "(tcp://wildfly-01.domain:8080,tcp://wildfly-02.domain:8080)?httpUpgradeEnabled=true&HA=true) Not to mention I prefer connection factory to be looked up via JNDI. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html