Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any examples on publish with confirmation? #73

Open
ccrotty opened this issue Apr 25, 2024 · 1 comment
Open

Any examples on publish with confirmation? #73

ccrotty opened this issue Apr 25, 2024 · 1 comment

Comments

@ccrotty
Copy link

ccrotty commented Apr 25, 2024

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

@makasim
Copy link
Owner

makasim commented Apr 29, 2024

There is an example as go test.

func TestPublishConfirms(t *testing.T) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants