Failover setup generates "Successfully connected" msg's all the time
We're getting these a lot, since we've setup a failover ServerUrl:
2019-12-09 11:00:31,547|INFO |ActiveMQ Tas|
Why is the connection connecting all the time? It's not mentioning
"re"-connect. It happens when there's no messages at all, and also in
between heavy load. (we're in the phase of load testing a prod-like setup)
I'm able to reproduce this locally, with just a broker, no messaging going
But I'm not sure it's the same thing.
Locally, it seems very related to, or triggered by, the periodic recovery
period of the transaction manager.
I.e. if I set these periods differently, the logging appears at exactly that
altered period interval.
Locally the message looks like this
[org.apache.activemq.transport.failover.FailoverTransport] (ActiveMQ Task-1)
Successfully connected to tcp://localhost:61616