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