JMS Client authorization failure throws non-JMS SessionException instead of JMSSecurityException in qpid-java client

Solution Verified - Updated -

Issue

When ACLs don't authorize a user to perform an action, Java client raises JMSException. Per JMS specification, JMSSecurityException should be raised rather.

How to get the correct Java exception?

Environment

  • MRG Messaging (any version)
  • qpid Java client (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