You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2015/11/12 20:26:11 UTC

[jira] [Created] (PROTON-1047) go: improved ack handling in electron API, add to broker example

Alan Conway created PROTON-1047:
-----------------------------------

             Summary: go: improved ack handling in electron API, add to  broker example
                 Key: PROTON-1047
                 URL: https://issues.apache.org/jira/browse/PROTON-1047
             Project: Qpid Proton
          Issue Type: Improvement
          Components: go-binding
            Reporter: Alan Conway
            Assignee: Alan Conway


Presently every Send() call returns a SentMessage with a separate channel to notify on ack. This is ideal for simple clients but does not scale well in a broker where you need to monitor large numbers of acks efficiently.

New scheme allows the user to supply the ack channel on send, so they can create a separate channel for individual acks or use a common channel for multiple acks.

Update the broker example to illustrate this by keeping track of un-acknowledged messages till accept and re-queueing them on disconnect or reject.



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