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