|
|
| Author |
Message |
|
| Guest |
Posted: Wed Oct 21, 2009 5:54 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 21, 2009 7:03 am |
|
|
|
Guest
|
George,
George Haidar wrote:
> Would calling the close() method on a rabbitmq Connection object:
> 1. cause all channels to close properly? and
Yes.
> 2. cause all non-durable exchanges and queues to be deleted?
No. The durability setting controls whether resources survive a broker
restart.
However, you can mark a queue as exclusive, which will cause it to get
deleted when the creating connection closes. And marking a queue
auto-delete will cause it to get deleted when its last consumer
disappears (which may happen in several ways, including through closing
a connection).
Regards,
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|