On 1 December 2014 at 18:47:19, Marko Iskander (
markoi...@gmail.com) wrote:
> They are created with the auto_delete true flag, below is the
> implementation of how we define and bind to the exchange.
>
> > exchange = channel.topic("foo_bar", auto_delete: true)
> > queue = channel.queue("queue_name")
> > queue.bind(exchange, routing_key: "routing_key")
This means your queues are non-exclusive (assuming this code uses Bunny,
which I think it does) and non-autodelete.
> Can you clarify how the auto_delete will cause this issue?
If at any point all queues are unbound from foo_bar (or deleted), then foo_bar itself
will. Are you sure you want this? Does your topology change a lot of is it nearly static?
What's the reasoning behind making the exchange auto-delete?