[rabbitmq-discuss] Queue Re-declaration

Matthias Radestock matthias at lshift.net
Thu Mar 26 19:17:41 GMT 2009


Brian,

Brian Sullivan wrote:
> For the workaround to periodically check if the queue still exists, is 
> the most efficient (or only) way to do this to continually re-declare 
> the queue?  I know it's meant to be an assertion, but it still looks 
> very strange in my code, and I am curious if there is a lighter way to 
> do this.

A *passive* queue.declare is very light weight and does exactly what you 
want.


Matthias.




More information about the rabbitmq-discuss mailing list