Why a session exception in qpid Java client invalidates the session and causes connection leak?

Solution Verified - Updated -

Issue

We are using qpid Java client for sending messages to qpid broker. If a session exception is raised (e.g. as a consequence of sending a message to a full queue), then:

  • the session and also connection object is use-less: an attempt to use it raises an exception
  • the TCP connection from qpid client stays enabled and can not be closed any way

Environment

  • MRG Messaging (up to 2.1)
  • Java client used

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