[rabbitmq-discuss] Auto delete messages in Queue after queue size reaches a certain number

Matthias Radestock matthias at rabbitmq.com
Thu Jul 5 18:44:57 BST 2012


Maurya,

On 05/07/12 17:55, Maurya M wrote:
> Is it necessary for declaring the consumer queue to hold the
> configuration of ttl?

All clients that declare the (same) queue must supply the same 
declaration arguments.

> Is there are way to achieve this using a Java publisher and C++
> consumer? Appreciate your response.

I don't know the C++ client, but iirc there have been some recent 
discussions on this list regarding the setting of queue declaration 
arguments, so I suggest you search the archives.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list