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: failover:(tcp://amq01:61616,tcp://amq02:61616)?backup=true
I intented to test the application behaviour if one of the brokers is shut down. - 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) made. 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 library? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-backup-true-does-not-work-with-failover-transport-tp4728967.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
