Chapter 2. Understanding messaging
This chapter covers
- Messaging concepts—consumers, producers, and brokers
- AMQP elements—exchanges, queues, and bindings
- Virtual hosts
- Message durability
- The life of a message from producer to consumer
When you say messaging, programmers think of a lot of different things. Email and IM come most readily to mind, but these models aren’t what we mean when we talk about messaging in terms of RabbitMQ. Messaging in RabbitMQ has some elements in common with email and IM, but is a completely different paradigm. For example, while AMQP, like email, stores messages for consumers who aren’t online, those messages are routed based on tags that are much more flexible. Also different from email, the messages have ...
Get RabbitMQ in Action 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.