You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Robin Kåveland Hansen (JIRA)" <ji...@apache.org> on 2013/05/13 11:35:16 UTC

[jira] [Created] (AMQ-4530) activemq-web unable to show StringProperties on Message

Robin Kåveland Hansen created AMQ-4530:
------------------------------------------

             Summary: activemq-web unable to show StringProperties on Message
                 Key: AMQ-4530
                 URL: https://issues.apache.org/jira/browse/AMQ-4530
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.8.0, 5.9.0
         Environment: Not really relevant.
            Reporter: Robin Kåveland Hansen


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira