Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1047

go: improved ack handling in electron API, add to broker example

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: go-binding
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              aconway Alan Conway
              Reporter:
              aconway Alan Conway
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: