[ 
https://issues.apache.org/jira/browse/QPID-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760554#action_12760554
 ] 

Martin Ritchie commented on QPID-2116:
--------------------------------------

What needs to happen is that when the the Channel is suspended we must ensure 
that all Subscriptions have noticed the change in state. This can be done by 
taking and releasing each of the Subscriptions send locks.

> FlowHandler does not ensure asynchrounous message delivery has completed and 
> stopped before sending FlowOk response.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2116
>                 URL: https://issues.apache.org/jira/browse/QPID-2116
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M4, 0.5
>            Reporter: Martin Ritchie
>
> Discovered this after resolving QPID-1871. The problem here is that the flow 
> control does not ensure that any asynchrounous process on the Session has 
> stopped before sending the FlowOk response.
> A trimmed example log run shows the issue, where the client sends the 
> Flow=False the broker then response but the async delivery thread is still 
> sending messages to the client. So the message is missed.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to