Failover option for AMQ 7 Core JMS Client

Solution Verified - Updated -

Issue

  • Failover or similar option for AMQ Core Protocol JMS Client.
  • While using initialConnectAttempts = -1 with Core Protocol JMS Client, it 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.
connectionFactory.ConnectionFactory=(tcp://localhost:61616,tcp://localhost:61716)?initialConnectAttempts=-1

Environment

  • Red Hat AMQ Clients
    • 2.2.0
  • Red Hat AMQ
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In