EventBus.RabbitMQ.Standard
EventBus.RabbitMQ.Standard copied to clipboard
make durability configurable
We would like to make the exchange durable and sometimes the queue should be non-durable.
This allows the dev to control the exchange and queue so it can survive rabbitmq restart.
Another way to fix this is to listen for when the message is non routable and correctly allow the developer to bind the queue to the new exchange after a reboot of rabbitmq though that would require a need for calling DoInternalSubscription
to correctly call channel.QueueBind
once again.