Book Image

RabbitMQ Essentials

By : David Dossot
Book Image

RabbitMQ Essentials

By: David Dossot

Overview of this book

Table of Contents (17 chapters)

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