activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sathish V (JIRA)" <>
Subject [jira] [Commented] (AMQ-3889) Body Preview of BytesMessages change when browsed multiple times from QueueViewMbean
Date Tue, 02 Oct 2012 04:15:09 GMT


Sathish V commented on AMQ-3889:

Thanks for your quick response.    My aim to create a external tool using JMX that will monitor
few ActiveMQ Queues periodically and peek(browse) into certain non-well formed messages and
raise alerts.

Few questions, if you can answer, will help me a lot.
1) Is there a workaround available for this?  
2) Is this an issue with activeMQ JMX agent service?  The upcoming patch to be applied to
activeMQ service?
3) I guess even though the browse shows message with null characters(after couple of browsing
on the same message), read message actually fetches the message properly, please confirm if
this is correct.  

> Body Preview of BytesMessages change when browsed multiple times from QueueViewMbean
> ------------------------------------------------------------------------------------
>                 Key: AMQ-3889
>                 URL:
>             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,
> When using the browse method of 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
> I have also narrowed it down to,
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:

View raw message