[rabbitmq-discuss] Management HTTP API - Specify Queue TTL

Matthias Radestock matthias at rabbitmq.com
Sun Dec 30 12:24:59 GMT 2012


On 29/12/12 14:42, austinnichols wrote:
> Is it possible to specify TTL when creating a queue via the Management
> HTTP API (3.01)?

Yes.

> I've tried using the following syntax, but the x-message-ttl parameter
> is ignored.
>
> {"auto_delete":false,"durable":true,"x-message-ttl":900000,"arguments":[]}

The x-message-ttl needs to go into the "arguments".

Matthias.


More information about the rabbitmq-discuss mailing list