What is AMQP

1. Introduction What is

AMQP全称:Advanced Message Queuing Protocol

AMQP translation: Advanced Message Queuing Protocol

AMQP defined : a binary protocol modern features. Is a provider of unified messaging service application layer standard Advanced Message Queuing Protocol, it is an open standard application layer protocol for message-oriented middleware design. All in all, is a process asynchronous message passing between network protocols .

 

2, AMQP model

Here Insert Picture Description

 

Server: also known as Broker, the client accepts the connection, implement AMQP service entity.

Connection: to establish a network connection, and the application of Broker

Publisher: news publisher, the main task is to send a message.

Channel: network channel, almost all of the operations are carried out in the Channel, all Message read and write channels. The client can create multiple Channel, each representing a specific task session.

Message: messages, data transfer between the server and the application program, the Properties and Body Composition Properties can Message be modified, such as message priority, delay advanced features, Body is the message body.

Virtual host: virtual host for performing logical isolation uppermost message routing, a Virtual host  which can have a plurality of Exchange and Queue, the same Virtual host which does not have the same  Exchange or Queue.

Exchange: Switch that accepts the message, the message is forwarded according to the routing key bindings to the Queue

Binding: Exchange and Queue virtual connection between the binding can be included in routing key

Routing key: a routing rule, the virtual machine can use to determine how to route a particular message

Queue: also known as Message Queue, message queues, save messages and forward them to the consumer

Consumer: news consumers, the main job is to consume Publisher message sent.

 

 

 

Published 33 original articles · won praise 3 · Views 5850

Guess you like

Origin blog.csdn.net/WandaZw/article/details/105332302