AMQP(Advanced Message Queuing Protocol) は、RabbitMQ が主に実装している標準的なメッセージングプロトコルであり、メッセージの形式と、クライアントと broker の間でメッセージを交換する方法を定義します。AMQP を理解することで、RabbitMQ の基盤となるプロトコルが明確になります。
AMQP とは
AMQP = a standardized, open PROTOCOL for message-oriented middleware:
→ defines the format of messages and the rules for exchanging them (between clients and
brokers)
→ an open standard → interoperability (different clients/brokers can communicate)
→ RabbitMQ's primary protocol (AMQP 0-9-1) → the model of exchanges, queues, bindings is
AMQP's model
→ AMQP is the protocol; RabbitMQ is a broker that implements it
AMQP のモデル(RabbitMQ が使用する)
AMQP defines the messaging model RabbitMQ uses:
→ PRODUCERS, EXCHANGES, QUEUES, BINDINGS, CONSUMERS (the concepts you work with)
→ routing via exchanges and bindings; acknowledgments; etc.
→ RabbitMQ's concepts come from the AMQP model
