Chapter 1. Working with AMQP

In this chapter we will cover:

  • Connecting to a broker
  • Producing messages
  • Consuming messages
  • Using body serialization with JSON
  • Using RPC with messaging
  • Broadcasting messages
  • Working with message routing using direct exchanges
  • Working with message routing using topic exchanges
  • Guaranteeing message processing
  • Distributing messages to many consumers
  • Using message properties
  • Messaging with transactions
  • Handling unroutable messages

Introduction

Advanced Message Queuing Protocol (AMQP) has been developed because of the need for interoperability among the many different messaging solutions, that were developed a few years ago by many different vendors such as IBM MQ-Series, TIBCO, or Microsoft MSMQ.

The AMQP 0-9-1 standard gives a complete ...

Get RabbitMQ Cookbook 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.