qpid Java client raising wrong exception for invalid destination

Solution Verified - Updated -

Issue

Trying to send a message to a temporary address that does not further exists raises javax.jms.JMSException. While JMS specification requires javax.jms.InvalidDestinationException to be raised instead.

Environment

  • MRG Messaging (any version)
    • Java/JMS client (any version)
    • JCA adapter (any version)

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.