Failover option for AMQ 7 Core JMS Client
Issue
Failover
or similar option forAMQ Core Protocol JMS Client
.- While using
initialConnectAttempts = -1
with Core Protocol JMS Client, it will retry only 1 address i.etcp://localhost:61616
in the list indefinitely. This means, that if the other server is started, the client will never connect to it.
connectionFactory.ConnectionFactory=(tcp://localhost:61616,tcp://localhost:61716)?initialConnectAttempts=-1
Environment
- Red Hat AMQ
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.