You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2009/07/15 12:27:14 UTC
[jira] Created: (QPID-1989) Credit window not automatically handled
for unaquired subscription mode
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:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-1989) Credit window not automatically handled
for unaquired subscription mode
Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim updated QPID-1989:
-----------------------------
Priority: Minor (was: Major)
Issue Type: Improvement (was: Bug)
> 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: Improvement
> Components: C++ Client
> Affects Versions: 0.5
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Priority: Minor
> 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:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-1989) Credit window not automatically handled
for unaquired subscription mode
Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim updated QPID-1989:
-----------------------------
Fix Version/s: (was: 0.6)
> 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: Improvement
> Components: C++ Client
> Affects Versions: 0.5
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Priority: Minor
>
> 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:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-1989) Credit window not automatically handled
for unaquired subscription mode
Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim updated QPID-1989:
-----------------------------
Environment: (was: SACQUIRE_MODE_NOT_ACQUIRED)
> 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
> 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:dev-subscribe@qpid.apache.org