You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org> on 2008/05/05 17:47:55 UTC

[jira] Created: (QPID-1025) (0.10 code path) Empty body messages are not propagated to the consumer

(0.10 code path) Empty body messages are not propagated to the consumer 
------------------------------------------------------------------------

                 Key: QPID-1025
                 URL: https://issues.apache.org/jira/browse/QPID-1025
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M3
            Reporter: Arnaud Simon
             Fix For: M3


This is because the org.apache.qpidity.transport.network.InputHandler is not propagating the frame when the message body is empty. 
A possible fix is to change line 116 by: 
 while (buf.hasRemaining() || state == FRAME_PAYLOAD)
This will avoid going out of the loop bdfore the payload is handled. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-1025) (0.10 code path) Empty body messages are not propagated to the consumer

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

Aidan Skinner resolved QPID-1025.
---------------------------------

    Resolution: Fixed

> (0.10 code path) Empty body messages are not propagated to the consumer 
> ------------------------------------------------------------------------
>
>                 Key: QPID-1025
>                 URL: https://issues.apache.org/jira/browse/QPID-1025
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M3
>            Reporter: Arnaud Simon
>             Fix For: M3
>
>
> This is because the org.apache.qpidity.transport.network.InputHandler is not propagating the frame when the message body is empty. 
> A possible fix is to change line 116 by: 
>  while (buf.hasRemaining() || state == FRAME_PAYLOAD)
> This will avoid going out of the loop bdfore the payload is handled. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.