[rabbitmq-discuss] Why does Channel.queueDeclarePassive close the channel?

Simon MacMullen simon at rabbitmq.com
Fri Feb 18 16:40:56 GMT 2011


Hi Yuesong.

On 18/02/11 16:31, Yuesong Wang wrote:
> What I really want to do is for both the producers and consumers to
> automatically recover from a queue gone missing

In that case both producers and consumers should declare the queue 
actively. Declaring a queue that already exists is not a problem, and 
the costs associated with doing so are low.

Cheers, Simon

-- 
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware



More information about the rabbitmq-discuss mailing list