wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
768 stars 125 forks source link

add option to enable publisher confirmations #121

Closed felixhuettner closed 1 year ago

felixhuettner commented 1 year ago

this makes it easier to use PublishWithDeferredConfirmWithContext without generating a custom handler that does nothing.

Add an additional example for this that also shows how to use PublishWithDeferredConfirmWithContext.

Closes: https://github.com/wagslane/go-rabbitmq/issues/116