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)