I am using EasyNetQ and I am wondering how to fetch an existing IExchange
and IQueue
without subscribing beforehand?
In the IAdvanceBus
I can only see:
ExchangeDeclareAsync
QueueDeclareAsync
But I am not sure really whether those will override an existing queue or exchange with the same name?
Also how can I be sure that that queue or exchange exist before trying to fetch / declare it?