FAQ

On 17/05/2011 11:19PM, Mari Muthu wrote:
Hi,

1) What are the possible argument we can pass when i declare the
Queue. And when these arguments will be used.

channel.queueDeclare(queue.getQueueName(), queue.isDurable(),
queue.isExclusive(), queue.isAutoDelete(),
queue.getArguments());

this arguments is a map.
At the moment, two arguments are supported for queues: x-expires and
x-message-ttl.
2) Can i say like these queue should be deleted after some day/date.
Lets say if the queue is idle for 5 days then delete it(no
consumer/publisher).
You want x-expires:

http://www.rabbitmq.com/extensions.html#queue-leases

Cheers, Simon

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedMay 17, '11 at 10:19p
activeMay 17, '11 at 10:23p
posts2
users2
websiterabbitmq.com
irc#rabbitmq

2 users in discussion

Simon MacMullen: 1 post Mari Muthu: 1 post

People

Translate

site design / logo © 2021 Grokbase