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

How to configure an exclusive consumer #111

Closed
vilasmaciel opened this issue Dec 16, 2015 · 3 comments
Closed

How to configure an exclusive consumer #111

vilasmaciel opened this issue Dec 16, 2015 · 3 comments
Assignees

Comments

@vilasmaciel
Copy link

In my use case I need to connect to a third party's RabbitMQ as an exclusive consumer of a queue. The exclusive property available in the settings JSON establish an "exclusive owner", but thats returns an error because I can't create the queue as it already exists. What i need is to configure an exclusive consumer, and I see that amqp supports that, how can I configure this kind of consumer with this library?

@mxriverlynn
Copy link
Contributor

are you trying to consume from an existing queue, or create a new one?

@arobson
Copy link
Collaborator

arobson commented Jan 4, 2016

@vilasmaciel - as of right now, wascally doesn't give you a way to exclusively consume a queue your service didn't create. I can add this feature to the startSubscription call.

@arobson arobson self-assigned this Jan 4, 2016
@vilasmaciel
Copy link
Author

@derickbailey I'm trying to consume from an existing one.

@arobson I have solved by activating the "exclusive" property in the subscribe method ('src/amqp/queue.js'). It's a temporal workaround until you add this feature. Thanks a lot!

vilasmaciel@f81d892

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

No branches or pull requests

3 participants