Chapter 2, Creating a Taxi Application, included information on how to connect to and consume messages from RabbitMQ. This chapter demonstrates setting the prefetch value, which specifies the number of messages being sent to the consumer at the same time. It also covers how consumers can either manually acknowledge messages or receive the messages without acknowledgment, the former allowing a zero-message loss design.
A new feature is requested of the Complete Car (CC) team, as the back office wants to be able to send information messages to all taxis at once. This is a prime opportunity to introduce the fanout exchange, which routes messages to all queues bound to them irrespective of the routing keys.
This chapter will cover the following topics:
- Working with channels and queues
- Specifying a consumer prefetch count
- Acknowledging messages...