Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi (no idea why I can't add in line breaks!)
I'm on v7.3.1 and we have 2 AMQ nodes configured in master slave config as per a "Shared File System Master Slave" at https://activemq.apache.org/masterslave.html.
Currently node 1 is master.
I have configured my JMS route component using the uri
failover:(tcp://host1:61616,tcp://host2.:61616)
I am seeing a the following line being added to tesb.log every second on the exec server.
2020-10-13T15:08:31,193 | INFO | ActiveMQ Task-1 | sport.failover.FailoverTransport 1052 | 232 - org.apache.activemq.activemq-osgi - 5.15.10.tesb1 | Successfully connected to tcp://host1:61616
Looking at
And other posts I'm not sure what could be causing this.
Has anyone had this issue or configured failover in the JMS component and isn't seeing this verbose logging which seems an indication of an issue?
I tried failover:(tcp://host1:61616,tcp://host2.:61616)?randomize=false as I thought the error might be due to host2 being the unavailable slave, but that made no difference and the logs mention host1 only...
thanks in advance for any advice
n
Okay - this was me not realising that you need to tick the "use PolledConnectionFactory" checkbox on the cMQConnectionFactory component!