Robin Kåveland Hansen created AMQ-3889:
------------------------------------------
Summary: Body Preview of BytesMessages change when browsed
multiple times from QueueViewMbean
Key: AMQ-3889
URL: https://issues.apache.org/jira/browse/AMQ-3889
Project: ActiveMQ
Issue Type: Bug
Components: JMX
Affects Versions: 5.5.1
Environment: Linux 64-bit, multiple java versions.
Reporter: Robin Kåveland Hansen
Priority: Minor
When using the browse method of org.apache.activemq.broker.jmx.QueueViewMBean
to obtain CompositeData of messages, the Body Preview of BytesMessages changes
between each browse.
I am not sure if that is intended behaviour, but I have written a testcase that
illustrates it.
I have also narrowed it down to
org.apache.activemq.broker.jmx.OpenTypeSupport.BytesMessageOpenTypeFactory,
which uses ActiveMQBytesMessage.readBytes but does not call reset afterwards.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira