qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: [proton-j] handling of link-credit
Date Wed, 01 Mar 2017 18:28:14 GMT
On 01/03/17 18:14, Rob Godfrey wrote:
> The link credit is an absolute value on the wire... but proton presents it
> in relative terms.  If you had 500 units of credit outstanding and
> flow(-500) and then flow(2), and you get 5 messages on the wire arriving
> after that point... what state is your link credit in in Proton?

I would expect it to be 0.

> Does it
> make a difference if those 5 messages had been processed by Proton (but not
> received by the application) before the flow(2) was sent or not?

Yes, if the flow(2) was issued after the 5 messages were processed, I 
would expect the credit to be 2.


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


Mime
View raw message