[rabbitmq-discuss] Tutorial #3 (Publish/Subscribe)

Michael Klishin michael.s.klishin at gmail.com
Tue Feb 4 05:18:11 GMT 2014


2014-02-04 Sven Resch <sven at logicopolis.com>:

> Should tutorial #3 be updated to use *auto_delete=True* or should the
> description for the *exclusive* flag be fixed?
>

The effect of exclusive=True is two-fold:

* The queue can only be used on the connection that declared it
* When that connection is closed or lost, the queue will *always* be deleted

On the other hand, auto-deleted non-exclusive queues can be used by any
connection
and will be deleted when the last consumer is cancelled or gone (if there
ever was one).
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140204/6edeaf01/attachment.html>


More information about the rabbitmq-discuss mailing list