qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Kennedy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (QPID-3093) BytesMessage is not readable after creation
Date Tue, 01 Mar 2011 11:40:36 GMT

     [ https://issues.apache.org/jira/browse/QPID-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andrew Kennedy updated QPID-3093:

    Summary: BytesMessage is not readable after creation  (was: BytesMessage is not readable
after createion)

> BytesMessage is not readable after creation
> -------------------------------------------
>                 Key: QPID-3093
>                 URL: https://issues.apache.org/jira/browse/QPID-3093
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.5
>            Reporter: Andrew Kennedy
>            Assignee: Andrew Kennedy
>             Fix For: 0.5
> When Mule (however this could apply to any JMS application) creates an AbstractBytesMessage
from a byte[] during message processing, it attempts to print the contents of the message.
This cauxses a javax.jms.MessageNotReadableException to be thrown with the message"You need
to call reset() to make the message readable". The issue has been fixed in the trunk code
as QPID-1830 by removing the checkReadable() method from the toBodyString() and porting this
fix to the 0.5 branch solves the issue.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message