[rabbitmq-discuss] share a pre-built queue

Tim Watson watson.timothy at gmail.com
Thu Oct 4 13:01:52 BST 2012

If you make the queue exclusive then the broker will automatically remove it once it notices the client has disconnected. We do our own housekeeping in that respect, but detecting 'stale' sockets can take quite some time depending on the underlying os/network configuration, so you might want to consider enabling heartbeats if you want post session cleanup to take place within a shorter time boundary.

On 4 Oct 2012, at 12:40, Prabodh Upreti <prabodh.upreti at vce.com> wrote:

> Tim
> Thank you. That makes sense now.  I did not completely realize the fact
> these queues were temporary and the system clears them once session is done. 
> I saw a lot of these  temp queues in the system and was worried they would
> clog up the system.  I guess the sessions were not properly closed and that
> is why they are still sitting there.
> One follow up.  It sounds like I need an external monitor to clean up the
> system time to time.  For instance, if the temp queue has no consumer
> connected remove it etc.
> regards
> prabodh
> --
> View this message in context: http://rabbitmq.1065348.n5.nabble.com/share-a-pre-built-queue-tp22319p22357.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list