You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2016/11/23 23:09:58 UTC

[jira] [Commented] (QPID-7545) [Java Broker] Make 0-10 CreditManagers work with Python client

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

Rob Godfrey commented on QPID-7545:
-----------------------------------

He did :-)  Amusingly this was picked up when running the AMQP 1.0 Python tests (which also test sending 0-10 messages to 0-10 receivers 

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org