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