badge icon

This article was automatically translated from the original Turkish version.

Article

AMQP (Advanced Message Queuing Protocol)

Quote

Advanced Message Queuing Protocol (AMQP) is an open internet protocol designed to enable reliable, routable, and interoperable message exchange between two parties. AMQP is a layered protocol standard that guarantees messages are transmitted completely, accurately, and in order, particularly in inter-enterprise communication. Standardized by OASIS in 2012, AMQP aims to provide application independence and cross-platform communication.

Today, AMQP is widely used in sectors such as finance, healthcare, and telecommunications, driven by the need for reliable data transmission. The message delivery guarantees and flexible configuration options offered by AMQP make it a suitable solution for systems requiring high reliability.

Structure of the AMQP Protocol

AMQP is fundamentally built on a multi-layered protocol architecture. Each layer supports the secure, efficient, and scalable operation of the system.

AMQP Layers

AMQP consists of several layers, each responsible for distinct functions:

  • Types Layer: Defines the data type system and encoding of AMQP.
  • Transport Layer: A binary, peer-to-peer protocol that enables efficient data transfer between two processes.
  • Messaging Layer: Specifies rules for message format and message configuration.
  • Transactions Layer: Ensures transactional integrity during message exchange.
  • Security Layer: Manages message security and authentication.

Message Model

AMQP includes two fundamental entities for message exchange: senders and receivers. Messages are routed through components called exchanges and stored in queues named queues. Clients send messages directly to an exchange, which then routes them to appropriate queues according to defined rules.

Basic architecture of the AMQP protocol. The sender routes the message via an exchange to the relevant queue, and the receiver retrieves the message from the queue. (Generated by artificial intelligence.)

Exchange Types in AMQP

AMQP provides various exchange types to route messages in different ways:

  • Direct Exchange: Messages are delivered to queues whose routing key exactly matches the message’s routing key.
  • Fanout Exchange: Messages are copied to all bound queues regardless of the routing key.
  • Topic Exchange: Messages are routed to queues whose binding pattern matches the message’s topic.
  • Headers Exchange: Routing is based on attributes in the message headers.

Technical Features of AMQP

Thanks to its advanced features, the AMQP protocol can serve a broad range of applications.

Transmission Reliability

AMQP offers multiple levels of reliability mechanisms to guarantee message delivery. Acknowledgements are used to confirm whether messages have been successfully delivered.

Flow Control

The protocol provides flow control to regulate network traffic, preventing issues such as overload and data loss.

Security Layer

AMQP can be integrated with security protocols such as TLS/SSL for authentication and encryption. It also supports SASL (Simple Authentication and Security Layer).

AMQP Message Brokers

When implementing an AMQP messaging infrastructure, a message broker is typically used. Brokers manage message exchange between clients and maintain system integrity. One of the most widely used AMQP brokers is RabbitMQ.

Use Cases of AMQP

AMQP has a wide range of applications and is effectively used in the following areas:

  • Financial Sector: Financial institutions prefer AMQP due to their need for highly reliable data transmission. For example, ensuring complete message delivery is critical in interbank fund transfer systems.
  • Healthcare Services: Hospitals and health data management systems use AMQP-based messaging solutions to securely share patient information.
  • E-Government Systems: E-government applications employ AMQP-based message brokers to securely and rapidly transfer data from various institutions to centralized systems.
  • Industrial IoT: In industrial facilities, AMQP is preferred for transferring data from sensors to centralized data collection and analysis systems.


AMQP use cases (Generated by artificial intelligence.)

Bibliographies

Arslan, Halil, Şeyma Akar, and Özgür Şahin. "YENİ NESİL E-DÖNÜŞÜM SİSTEMLERİ İÇİN ÖLÇEKLENEBİLİR UYGULAMA MİMARİSİ." Mühendislik Bilimleri ve Tasarım Dergisi 9, no. 4 (2021): 1246-1252. Accessed Adresi.

Gültunca, Cem. "Nesnelerin internetinde uygulama katmanı üzerindeki haberleşme protokollerinin incelenmesi ve deneysel karşılaştırılması." (2018). Accessed Adresi.

Luzuriaga, Jorge E., Miguel Perez, Pablo Boronat, Juan Carlos Cano, Carlos Calafate, and Pietro Manzoni. "A comparative evaluation of AMQP and MQTT protocols over unstable and mobile networks." In *2015 12th Annual IEEE Consumer Communications and Networking Conference (CCNC)*, pp. 931-936. IEEE, 2015. Accessed Adresi.

OASIS. "Advanced Message Queuing Protocol (AMQP) Version 1.0." OASIS Standard, 2012. Accessed Adresi.

Prajapati, Ambar. "AMQP and beyond." In *2021 International Conference on Smart Applications, Communications and Networking (SmartNets)*, pp. 1-6. IEEE, 2021.

Author Information

Avatar
AuthorGülçin ÖzerDecember 5, 2025 at 1:46 PM

Tags

Discussions

No Discussion Added Yet

Start discussion for "AMQP (Advanced Message Queuing Protocol)" article

View Discussions

Contents

  • Structure of the AMQP Protocol

  • AMQP Layers

  • Message Model

  • Exchange Types in AMQP

  • Technical Features of AMQP

    • Transmission Reliability

    • Flow Control

    • Security Layer

  • AMQP Message Brokers

  • Use Cases of AMQP

Ask to Küre