Chapter 5. Tweaking Message Delivery

While reading the previous chapters, you may have wondered about the fate of messages that are stuck in queues forever. You may even have decided to test the usage of the basic message property named expiration. It's now time to actually tackle the notion of message time-to-live thoroughly. You may also have been wondering whether there was an option to prevent messages that target inexistent queues from being silently dropped. That's also an important question we'll discuss in this chapter.

In this chapter, we will discuss the following topics:

  • Message time-to-live
  • Dead-letter exchanges and queues
  • Mandatory delivery
  • Returned message handling

Handling dead letters

Things are going very well at Clever Coney Media. ...

Get RabbitMQ Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.