Skip to content
Ameen Abozaid
Planned lessonMID-027-L06

Demo: notification routing with a topic exchange

  • Lesson 6 of 6
  • Mid-level
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

build the notification flow. Prepares MID-027-LAB1.

Draft outline details

Step by step

  1. Start RabbitMQ with Docker; open the management UI.
  2. Declare topic exchange notifications and queues email (notify.email.#) and sms (notify.sms.#).
  3. Publish notify.email.order and notify.sms.shipped from Shop; watch each queue receive its message.
  4. Add a DLX and a poison message that throws; with auto requeue enabled, show the endless loop.
  5. Planned mistake: leave requeue on. Fix with nack without requeue, route to the DLQ, and show later messages still flow.
  6. Add a TTL retry queue and show a message returning after the delay.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Type to search levels, phases, modules and lessons.