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