Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4185

Unable to access JMSXUserId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.7.0
    • 5.8.0
    • Camel
    • None
    • Activemq-5.7.0

    Description

      I have enabled in activemq.xml - <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" useJmx="true" populateJMSXUserID="true" dataDirectory="${activemq.data}">

      and trying get the property on the client when reading the topic

      System.out.println("text message id: "+txtMsg.getObjectProperty("JMSXUserID"));

      I am not sure what I am missing..

      Attachments

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              harisundhar Hari Sundharesan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: