How to set reconnection after failover in qpid Java client?

Solution Verified - Updated -

Issue

We are trying to put TCP load balancer between clients and brokers. Our connection URL to broker has roundrobin failover and three brokers in brokerlist. We require that whenever an exception occurs then the client will reconnect to the same broker (in fact to the loadbalancer) in the brokerlist before reconnecting to the next broker.

How to achieve this?

Environment

  • MRG Messaging
  • qpid Java client

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