I was just suggesting to check your cluster configuration against the reference examples, to make sure the nodes are actually working as a group.
Could it be something as simple as the "ha" URI parameter being case-sensitive? In all the examples it's in lower case, not uppercase as you have it. Dave On Thu, Feb 27, 2020 at 10:20 AM Jarek Przygódzki < jarek.przygod...@gmail.com> wrote: > 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 >