You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Sathish V (JIRA)" <ji...@apache.org> on 2012/10/01 20:49:13 UTC
[jira] [Commented] (AMQ-3889) Body Preview of BytesMessages change
when browsed multiple times from QueueViewMbean
[ https://issues.apache.org/jira/browse/AMQ-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467089#comment-13467089 ]
Sathish V commented on AMQ-3889:
--------------------------------
Hi, I see the same issue. What should I do to get the patch, please let me know the details.
-Sathish
> 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
> Assignee: Timothy Bish
> Priority: Minor
> Fix For: 5.7.0
>
> Attachments: OpenTypeSupport.diff, OpenTypeSupportTest.java
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira