[rabbitmq-discuss] When are messages persisted to disk?

Alvaro Videla videlalvaro at gmail.com
Wed Aug 31 23:14:07 BST 2011


Hi,

When does RabbitMQ persist messages to disk? 

I would assume that if the message is published with: delivery-mode = 2  then it will be persisted ALWAYS. Is that the case?

What happens with messages with delivery-mode  = 1? Are they kept in memory? Are they saved to disk to the TRANSIENT_MSG_STORE?

Is it correct to say that transient queues get their messages saved to the TRANSIENT_MSG_STORE which is wiped out if RabbitMQ restarts?

Are there situations where the message is directly delivered to the consumer without being persisted to disk?

Regards,

Alvaro




More information about the rabbitmq-discuss mailing list