activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamas1 <>
Subject [ActiveMQ-CPP] "backup=true" does not work with failover transport
Date Thu, 27 Jul 2017 15:21:30 GMT
I am working with an application that uses the ActiveMQ-CPP 3.9.1 Release.

Two ActiveMQ brokers are used with the following connection URL:

I intented to test the application behaviour if one of the brokers is shut
- If "backup=false" is used in the connection URL, the failover to the other
broker works (producters/consumers reconnect automatically).
- Using "backup=true", the TCP connection of the application to the second
broker is also dropped when the first broker is shut down. The application
is attempting to reconnect to the first broker in the list which is shut
down but there is no reconnection attempt to the second broker (which is up)

I configured maxReconnectAttempts=1, then the application did not even try
to reconnect to any broker. Using maxReconnectAttempts=3, the application
attempted to reconnect to the first broker 4 times but never to the second
broker, which was up.

Any ideas how I could get "backup=true" to work? May it be a bug in the

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message