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
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content