Credit window not automatically handled for unaquired subscription mode
-----------------------------------------------------------------------

                 Key: QPID-1989
                 URL: https://issues.apache.org/jira/browse/QPID-1989
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
    Affects Versions: 0.5
         Environment: SACQUIRE_MODE_NOT_ACQUIRED
            Reporter: Gordon Sim
            Assignee: Gordon Sim
             Fix For: 0.6


If you have a subscription using ACQUIRE_MODE_NOT_ACQUIRED in conjunction with 
a credit window (e.g. FlowControl::messageWindow(1)), then even with autoAck 
set there is no automatic completion information sent to the broker which means 
that the credit window is not moved forward and messages stop getting 
delievered when the window gets used up.

This can be worked around easily enough by calling  Session::sendCompleted() 
(in the default COMPLETE_ON_DELIVERY mode the completion is marked, just not 
sent to the broker).

However it would be more intuitive and convenient to handle this case by 
sending completion at a frequency dictated by the autoAck value even if not 
sending an accept (due to messages not being acquired).

-- 
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