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

Solution Verified - Updated -

Issue

  • 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?

Environment

  • JBoss A-MQ
    • 6.0

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.