All Products
Search
Document Center

ApsaraMQ for RabbitMQ:Are ordered messages supported by ApsaraMQ for RabbitMQ?

Last Updated:Mar 10, 2026

Yes. ApsaraMQ for RabbitMQ stores messages in a queue in publication order and delivers them to consumers in that same order.

However, storage order and processing order are different. A queue always holds messages in publication order, but the order in which consumers finish processing those messages depends on the consumer setup.

Achieve strict ordering

To guarantee that messages are processed in order, use a single consumer per queue. For implementation details, see Ordered consumption of messages.