Is there a way for a JMS consumer to retrieve the authenticated username of the producer that sent the message?

Solution Verified - Updated -


  • If a broker is configured for authentication and the JMS producer needs to authenticate with a username and password before being allowed to send messages to the broker.
  • Can a JMS consumer find out what username was used by the JMS producer that sent a particular message?


  • JBoss A-MQ
    • 6.0

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