A
A
Alexey2019-01-28 13:53:08
Java
Alexey, 2019-01-28 13:53:08

Activemq Successfully connected to tcp in logs?

Good afternoon! Maybe someone came across an entry in the logs Successfully connected to tcp ?
We have 2 brokers, the end application (using Camel) uses the string jms.url=failover:(tcp://server1.domain.local:31616,tcp://server2.domain.local:31616) to connect to the brokers.
Every 2-3 minutes a message arrives in the logs:
2018-10-23T08:55:31,854 | INFO | ActiveMQ Task-1 | FailoverTransport | 65 - org.apache.activemq.activemq-osgi - 5.14.5 | Successfully connected to tcp://server1.domain.local:31616
I would like to understand why this entry appears in the logs. Are you reconnecting to a broker? connection break?
Read the Internet, prescribed keepAlive - nothing helps.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2019-01-28
@leahch

Judging by the code, a connection is being created. Most likely, the connection is closed, for what reasons I don’t know, and is re-created. Moreover, it is created as the "first connection" - https://github.com/apache/activemq/blob/0b71b06ac8... - line 1052.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question