amqpextra icon indicating copy to clipboard operation
amqpextra copied to clipboard

Any examples on publish with confirmation?

Open ccrotty opened this issue 10 months ago • 1 comments

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

ccrotty avatar Apr 25 '24 15:04 ccrotty

There is an example as go test.

https://github.com/makasim/amqpextra/blob/e05133a03cfac19fe5bb849de98e5da9381832c4/e2e_test/publisher_test.go#L82

makasim avatar Apr 29 '24 10:04 makasim