amqpextra
amqpextra copied to clipboard
Any examples on publish with confirmation?
Thanks for the great library! Really makes using rabbitMQ much easier.
Per the title, I don't see any response on the msg.ResultCh if the publish actually succeeds. I have the set the publisher.WithConfirmation(1) and have the ResultCh set as buffered to 1 (make(chan error, 1)).
Is there a amqpextra group (google or otherwise) where we could post questions like this?
Thanks Chris
There is an example as go test.
https://github.com/makasim/amqpextra/blob/e05133a03cfac19fe5bb849de98e5da9381832c4/e2e_test/publisher_test.go#L82