Thread leak in qpid Java client when bouncing connection in onMessage

Solution Verified - Updated -

Issue

  • using message listener and onMessage() method for receiving messages from qpid broker
  • time to time we need to drop the JMS connection and re-open it
  • this is usually followed by thread leak where particular Dispatcher-0-Conn-* thread is not terminated

Environment

  • Red Hat Enterprise MRG Messaging 2.*
    • 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