Since 1.8.0 the passive declaration is separated, taking only a name as parameter and will not declare anything if the exchange or queue is not there yet.<div>This does makes sense, so in theory, when wanting a passive declaration over active, you would first try passive and then active.</div>
<div><br></div><div>Now the problem:�</div><div><br></div><div>If passive declaration fails, it not only throws an exception, it also closes the channel.</div><div><br></div><div>Questions:</div><div><br></div><div>- What is the added value of the Exchange.DeclareOk result?�</div>
<div>- Why is there no API call available to check if an exchange exists (and with which parameters) so that this exception can be prevented?</div><div><br></div><div>Cheers,</div><div>Irmo</div><div><br></div>