Help Center/ Distributed Message Service for RabbitMQ/ FAQs/ Messages/ How Long Are Messages Be Retained?
Updated on 2024-10-18 GMT+08:00

How Long Are Messages Be Retained?

RabbitMQ 3.x.x

Normally, messages are retained until they are consumed. But if a message has a time to live (TTL), it will be retained until expiry.

RabbitMQ AMQP-0-9-1

If a message has a time to live (TTL), it will be deleted or stored to a dead letter queue after expiry. A TTL is 48 hours by default.