[
https://issues.apache.org/jira/browse/QPID-7545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated QPID-7545:
------------------------------
Description:
The AMQP 0-10 specification states (Command: message.set-flow-mode; Rule:
mode-switching)
{quote}Mode switching may only occur if both the byte and message credit
balance are zero.{quote}
Commit r1769109 brought the Java Broker into compliance with the spec.
However, it seems that the Python client (or the underlying C++ implementation)
tries to switch mode when *either* byte or message credit is zero (i.e., the
client does not have credit).
To not break compatibility, we should adopt that behaviour.
was:
The AMQP 0-10 specification states (Command: message.set-flow-mode; Rule:
mode-switching)
{quote}Mode switching may only occur if both the byte and message credit
balance are zero.{quote}
Commit r1769109 brought the Java Broker into compliance with the spec.
However, it seems that the proton client tries to switch mode when *either*
byte or message credit is zero (i.e., the client does not have credit).
To not break compatibility, we should adopt that behaviour.
> [Java Broker] Make 0-10 CreditManagers work with Python client
> --------------------------------------------------------------
>
> Key: QPID-7545
> URL: https://issues.apache.org/jira/browse/QPID-7545
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-6.2
> Reporter: Lorenz Quack
> Fix For: qpid-java-6.2
>
>
> The AMQP 0-10 specification states (Command: message.set-flow-mode; Rule:
> mode-switching)
> {quote}Mode switching may only occur if both the byte and message credit
> balance are zero.{quote}
> Commit r1769109 brought the Java Broker into compliance with the spec.
>
> However, it seems that the Python client (or the underlying C++
> implementation) tries to switch mode when *either* byte or message credit is
> zero (i.e., the client does not have credit).
> To not break compatibility, we should adopt that behaviour.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]