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

activemq-web unable to show StringProperties on Message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.8.0, 5.9.0
    • 5.9.0
    • None
    • Not really relevant.

    • Patch Available

    Description

      When browsing queues with jconsole or using the web console, I am unable to obtain any StringProperties on a message. Despite this, they do show up in PropertiesText.

      I have investigated and made a testcase and a patch, but they are both ugly and hackish so someone needs to review them.

      The problem stems from the createTabularData in OpenTypeSupport, where an instanceof check against String is performed on property values. String properties however seem to be instances of org.fusesource.hawtbuf.UTF8Buffer, which (obviously) doesn't subclass String, so they aren't put in the TabularDataSupport return-value.

      As near as I can tell, this affects both trunk and 5.8, but I haven't checked it against 5.7.0.

      Attachments

        1. amq4530.patch
          4 kB
          Robin Kåveland
        2. AMQ4530Test.java
          4 kB
          Robin Kåveland

        Activity

          People

            tabish Timothy A. Bish
            kaaveland Robin Kåveland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: