amqp icon indicating copy to clipboard operation
amqp copied to clipboard

Prevent sending multiple delivery states for the same message.

Open vcabbage opened this issue 6 years ago • 0 comments

Currently it's possible to call accept/modify/reject/release multiple times on the same message and have a disposition sent multiple times. These are all terminal delivery states and only the first call is valid.

  • Ensure that only the first call sends a disposition.
  • Document the behavior.
  • Possibly change the signatures to return errors so that this can be reported to the user.

vcabbage avatar May 14 '18 15:05 vcabbage