amqp-client
amqp-client copied to clipboard
Give option for AddBinding method to only call consume
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
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
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.