MQTT- Original Sender not in Message Header

Solution Verified - Updated -

Issue

  • We are trying to help one of our mqtt applications track down an issue where empty byte messages are being sent to one of the virtual topics. These empty messages are unable to be processed on the backend and end up going into the DLQ.

  • Normally we can see which host sent the message because the JMS message ID field will contain the hostname. However it seems like when activemq maps the byte message to a JMS message it uses the activemq broker's hostname in the message ID field and not the original sender.

  • Is there any type of logging we can enable so we can get the client ID or original hostname of the sender of the empty messages?

Environment

  • Red Hat AMQ
    • 7.2.0
    • 6.3.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