reconnect/failover parameters don't work in for the first broker in connection URL in qpid Java client

Solution Verified - Updated -

Issue

When using qpid Java client failover, it seems like reconnect parameters (retries, connectdelay or so) are ignored for the very first broker in connection URL. Whenever I bounce the broker, the client does not try to reconnect to the same broker but connects to the second broker in the brokerlist inside connection URL. While bouncing the second broker now, the client reconnects to it properly.

As both brokers have identical reconnect settings, why the client does not try to reconnect to the first broker but does so to the second?

Environment

  • MRG Messaging
  • qpid-java-* packages (up to and including 0.18 versions)

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