[rabbitmq-discuss] Auto-delete & x-expire being ignored

SimonT simonthorogood at hotmail.com
Wed Feb 23 10:41:17 GMT 2011


I'm trying to get a prototype working whereby a web app publishes 'per-
session' tasks to a batch service and then receives reponses on
session-specific queue. All seems to be working great except the
queues are hanging around depsite setting them to auto delete and with
an x-expire property.

C# Code to create the queue:

			channel.ExchangeDeclare("ss.newquotes", ExchangeType.Direct, true);
			channel.QueueDeclare(sessionQueueName, false, false, true, new
Hashtable { { "x-expire", 30000 } });
			channel.QueueBind(sessionQueueName, "ss.newquotes",
sessionQueueName);

The temp queues appears in the web management console (which is
awesome, by the way) with the expected properties:

AD (auto delete)
x-expire=30000

but they don't seem to go away. Any ideas?


More information about the rabbitmq-discuss mailing list