-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.2.2.GA
-
None
-
Release Notes
-
-
+
-
-
Documented as Resolved Issue
-
Verified in a release
Failover or similar option for AMQ Core Protocol JMS Client.
While using initialConnectAttempts = -1 with Core Protocol JMS Client like below
connectionFactory.ConnectionFactory=(tcp://localhost:61616,tcp://localhost:61716)?initialConnectAttempts=-1
Above configuration will retry only 1 address i.e "tcp://localhost:61616" in the list indefinitely. This means, that if the other server is started, the client will never connect to it.
In AMQ JMS Client (AMQP), we have a failover option,
connectionFactory.ConnectionFactory=failover:(amqp://localhost:5672,amqp://localhost:5772)?failover.maxReconnectAttempts=-1
Looking similar option for Core Protocol JMS Client.
- is cloned by
-
ENTMQBR-3101 [artemis-jms-client] if connecting to a list, and if a node is off, initialConnectAttempts=-1 would retry forever once it tried a dead node
- Closed