Demo: notification routing with a topic exchange
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
- Start RabbitMQ with Docker; open the management UI.
- Declare topic exchange
notificationsand queuesemail(notify.email.#) andsms(notify.sms.#). - Publish
notify.email.orderandnotify.sms.shippedfrom Shop; watch each queue receive its message. - Add a DLX and a poison message that throws; with auto requeue enabled, show the endless loop.
- Planned mistake: leave requeue on. Fix with
nackwithout requeue, route to the DLQ, and show later messages still flow. - 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.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.