activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Kåveland Hansen (JIRA) <j...@apache.org>
Subject [jira] [Updated] (AMQ-4530) activemq-web unable to show StringProperties on Message
Date Mon, 13 May 2013 09:37:15 GMT

     [ https://issues.apache.org/jira/browse/AMQ-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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

    Attachment: AMQ4530Test.java

Unittest that demonstrates the issue.
                
> 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
>              Labels: patch
>         Attachments: amq4530.patch, AMQ4530Test.java
>
>
> 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

Mime
View raw message