Alan Conway commented on PROTON-1309:

The outgoing credit for a sender is determined by the remote receiver. I 
deliberately did not let electron buffer more than this limit internally (even 
though the proton-C library will do that) because it masks the real depth of 
your outgoing message queues. I think it should be easy to queue up messages 
internally on slices or channels and have a goroutine feed them to proton as 
quickly as credit becomes available - that has the advantage of giving you 
clear visibility on the messages that definitely have *not* yet been sent, 
which can be important for recovery or load balancing. Let me know if I'm 
missing your point.

On the session window, absolutely - an oversight which I will correct shortly.

> Add the ability to set the outgoing message window to electron interface
> ------------------------------------------------------------------------
>                 Key: PROTON-1309
>                 URL: https://issues.apache.org/jira/browse/PROTON-1309
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: go-binding
>    Affects Versions: 0.15.0
>            Reporter: Richard Laos
>            Assignee: Alan Conway
>            Priority: Minor
> It would be nice to be able to set the outgoing window of a session or sender 
> using the electron interface.

This message was sent by Atlassian JIRA

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

Reply via email to