Chapter 2. Design Patterns with RabbitMQ
As a robust messaging solution, RabbitMQ provides different utilities for distributing messages between endpoints in the communication channel. These utilities provide an implementation of best practices and design patterns that apply to messaging solutions and form the backbone of a messaging broker such as RabbitMQ.
Topics covered in the chapter:
- Messaging patterns in RabbitMQ
- Point-to-point communication
- Publish-subscribe communication
- Request-reply communication
- Message router
Messaging patterns in RabbitMQ
Messaging patterns in RabbitMQ are implemented based on exchanges, queues, and the bindings between them. We can distinguish between the different approaches for implementing a design pattern with RabbitMQ: ...