From the course: Learning RabbitMQ

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The AMQP protocol

The AMQP protocol - RabbitMQ Tutorial

From the course: Learning RabbitMQ

Start my 1-month free trial

The AMQP protocol

- Let's take a look at the most important protocol in RabbitMQ, the AMQP protocol. RabbitMQ supports multiple messaging protocols. Examples are AMQP 0-9-1, STOMP, MQTT, and AMQP 1.0. Of these protocols, AMQP 0-9-1 is probably the most popular and widely supported, so let's have a look. AMQP is short for Advanced Message Queuing Protocol. It's a binary protocol, which means your message will be sent in a binary format. Before we get into that, let's look at what a text protocol is. HTTP, the hypertext transfer protocol, is a great example. When you make a HTTP request, it looks something like this. The server can then respond in a similar fashion. Even if the actual data being sent is binary, for example, in the case of an image, as you can see, the field names, like Date, ETag, and Content-Length, are also transmitted. In the case of a binary protocol, the field names aren't transmitted. A receiving site can…

Contents