Deadlock in qpid Java client when closing consumer in parallel

Solution Verified - Updated -

Issue

When closing a consumer in parallel from OnMessage method of its listener, and from main program, the qpid Java library can get into a deadlock. See Diagnostic Steps for details.

Environment

  • MRG Messaging
    • 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.