activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3889) Body Preview of BytesMessages change when browsed multiple times from QueueViewMbean
Date Mon, 01 Oct 2012 19:01:08 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467099#comment-13467099
] 

Timothy Bish commented on AMQ-3889:
-----------------------------------

ActiveMQ 5.7.0 is undergoing the release process now.  You can wait a few days for that or
grab one of the nightly SNAPSHOT builds.
                
> 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

Mime
View raw message