[rabbitmq-discuss] RabbitMQ and Spring

Simon MacMullen simon at rabbitmq.com
Thu Aug 4 13:22:56 BST 2011

On 04/08/11 13:18, Dave Syer wrote:
> Auto-delete queues are only removed when the Channel is closed (which
> might be never if you use a CachingConnectionFactory.  You need an
> exclusive queue to have it delete when not in use, and then you need
> to use basicConsume, not basicGet to receive the message.

Isn't that the wrong way round? As in, exclusive queues delete when the 
connection owning them closes, and auto-delete ones go when the last 
consumer cancels.

Cheers, Simon
Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list