Nodes and links
An amqp network includes nodes and links.
A node is a named message source and/or message end point. A message is created by the source node (producer) and may pass through other nodes along the link until the end node (consumer) is reached ).
A link means that information between nodes may be transmitted along a one-way route. The link lifecycle is associated with the lifecycle of the source and target nodes. If either node is deleted, the link is also deleted.
The link may be "destructive" or "non-destructive ". In the destructive link, when a message is sent to the target node, the message is deleted from the source node. For non-destructive, the message is copied to the target node, and the source node does not delete the message.
Message
A message is uniquely identified data that contains readable attributes and unreadable subjects.
Messages cannot be changed in the amqp network. However, headers and footers can be modified by nodes because they do not belong to the message itself.
Credit
Messages can be delivered to the target node only when the target node sends a credit to the source node. The number of credit is the number of transfer units. Any message can be identified as a certain number of transfer units ). large messages are divided into transmission units ). The credit is consumed when a message is sent. The target node can add or delete the credit of the source node.
Containers
Nodes are in the container. A container is a physical or logical process that allows you to establish a network connection. The node name in the container is unique. The container has a globally unique identifier (guid ). The node can be identified as the container name plus the name of the node in the container.
Reference:Amqp 1.0 draft for review only revision 875