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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.