Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Give option for AddBinding method to only call consume #87

Open
wants to merge 10 commits into
base: scala2.11
Choose a base branch
from

Conversation

dnatic09
Copy link

Our AMQP servers do not permit our users to perform declareExchange nor queueBind. This simple solution allows the queue consumer to specify that their binding only needs to consume. Please feel free to comment on our solution. We tried not to make any breaking changes. If there is a way to do this with the existing library, we'd happily close our PR and switch to your implementation.

THANKS!
The Weather Channel
SUN Team

@sstone
Copy link
Owner

sstone commented Feb 27, 2017

I won't be able to look into this until the end of the week, but couldn't you instead send an AddQueue message to the consumer, with the passive flag set to true ? I think the result would be the same ? (haven't tried though)
Thanks

@dnatic09
Copy link
Author

I think you are correct about this. We will probably look at switching our code to that implementation. Much easier. I would have to test it.

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

Successfully merging this pull request may close these issues.

2 participants