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

Exclusive consumers throw errors #21

Closed
schonfeld opened this issue Aug 7, 2014 · 3 comments
Closed

Exclusive consumers throw errors #21

schonfeld opened this issue Aug 7, 2014 · 3 comments

Comments

@schonfeld
Copy link

Hey. Great job on the wrapper. I'm facing an issue with exclusive consumers, however. When I set a consumer to exclusive, and try to run my workers from more than 1 machine, the second (and on) machine(s) throw errors on queue init. This makes sense, considering Rabbit throws an error when you try to connect to an already-consumed exclusive queue.

What's the right procedure here?

@barshow
Copy link
Contributor

barshow commented Aug 7, 2014

I would guess the expected result would be a returning the error in the consumer callback, im working on this now.

@barshow
Copy link
Contributor

barshow commented Aug 7, 2014

https://github.com/dropbox/amqp-coffee/tree/feature/0.1.19 should work for you, ill merge that in and push it up to npm probably tomorrow after some review

@schonfeld
Copy link
Author

That's great, thanks @barshow. Just making sure -- in this flow, the wrapper won't try to auto-reconnect, right?

@barshow barshow closed this as completed Mar 27, 2015
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