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:17:21 UTC

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

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


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

        

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

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ 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

        

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

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey reassigned QPID-206:
--------------------------------

    Assignee: Rob Godfrey

> Sending same TextMessage more than once causes text to be lost on second send
> -----------------------------------------------------------------------------
>
>                 Key: QPID-206
>                 URL: https://issues.apache.org/jira/browse/QPID-206
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>            Reporter: Rob Godfrey
>         Assigned To: Rob Godfrey
>            Priority: Minor
>             Fix For: M2
>
>         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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-206?page=all ]

Robert Greig resolved QPID-206.
-------------------------------

    Fix Version/s: M2
       Resolution: Fixed

Committed to svn rev 487849

> 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
>             Fix For: M2
>
>         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