Skip to content

Check: AMQP persistence and routing

Knowledge check · self-test

Check: AMQP persistence and routing

Review the restart truth table and the smart-building binding failure.

Back to the chapter →

Review the restart truth table and the smart-building binding failure.

Checkpoint: Persistence Setup

You now know:

  • A durable queue only preserves the queue definition; message survival also requires delivery_mode=2.
  • The high-risk configuration is a durable queue holding transient messages: those messages are discarded during broker recovery.
  • Review durable exchanges, durable queues and persistent messages together; a publisher confirm alone does not prove routing to a queue or persistent storage. Its storage meaning depends on the routed queue and message settings.

Checkpoint: Wildcard Routing

You now know:

  • sensor.temperature.* is a single-word pattern, so it misses deeper keys such as sensor.temperature.room1.zone2.
  • sensor.temperature.# is the variable-depth pattern because # accepts zero or more words.
  • Routing checks in this chapter show that a * topic binding misses keys with an extra segment, while # matches zero or more segments.

Back to AMQP Reliability: Persistence and Routing Patterns: Match Routing Words Explicitly