Try It: Persistence Configuration Tester

Try It: Persistence Configuration Tester

animation
amqp
protocols
messaging
Try Change message delivery_mode to 2 (persistent) with queue durable set to true.
Observe Watch After Restart, Configuration Status, and Data Loss after Play restart.
Explain Explain why delivery_mode 2 requires a durable queue for messages to survive.

Technical boundaries. Restart survival depends only on queue durability and message delivery mode. All messages survive when both settings are required values; otherwise all messages are lost.

NoteTry It: Persistence Configuration Tester

Select different combinations of queue durability and message delivery mode to see what survives a broker restart. Watch the visual queue fill and drain to build intuition for why both settings are required.

Back to the chapter