The delivery mode has a well-defined meaning in the AMQP 0.9.1 specification. It controls how the broker treats the message from a durability standpoint. Delivery mode for a message can be set to:
- non-persistent (default)
The value of the delivery mode will tell RabbitMQ if it’s allowed to keep the message in memory when the message is placed in a queue (non-persistent) or if it must store the message on disk first (persistent).
Messages marked as persistent messages that are delivered to durable queues
will be stored to the disk. Please note that the recommended queue type,
Quorum Queues, can only be declared durable, otherwise an
Email us at firstname.lastname@example.org if you have any questions!