You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2006/12/16 19:21:21 UTC

[jira] Updated: (QPID-206) Sending same TextMessage more than once causes text to be lost on second send

     [ http://issues.apache.org/jira/browse/QPID-206?page=all ]

Rob Godfrey updated QPID-206:
-----------------------------

    Attachment: QPID-206.patch

Fixed getData() in AbstractJMSMessage
Added test case

> Sending same TextMessage more than once causes text to be lost on second send
> -----------------------------------------------------------------------------
>
>                 Key: QPID-206
>                 URL: http://issues.apache.org/jira/browse/QPID-206
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>            Reporter: Rob Godfrey
>            Priority: Minor
>         Attachments: QPID-206.patch
>
>
> Doing
> msg = session.createTextMessage("msg")
> producer.send(msg);
> producer.send(msg);
> will leave the second sent message without any content.  This is due to an error in the way the positions in the ByteBuffer are changed in getData()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira