Basic Concepts
Cloud DMS for RabbitMQ uses RabbitMQ as the messaging engine. In RabbitMQ, messages are sent by producers, stored in queues, and received by consumers. The following explains basic concepts of RabbitMQ.
Message
A message has a message body and a label. The message body, in JSON or other formats, contains the content of the message. The label only describes the message.
Messages are sent by producers and retrieved by consumers, but a producer and a consumer are not directly linked to each other.
Producer
A producer is an application that sends messages to queues. The messages are then delivered to other systems or modules for processing as agreed.
Consumer
A consumer is an application that receives messages. Consumers subscribe to queues. During routing, only the message body will be stored in the queue, so only the message body will be consumed by consumers.
Queue
A queue stores messages that are sent from producers and await retrievals by consumers. If different consumers subscribe to the same queue, the messages in that queue will be distributed across the consumers.
Broker
Nodes that provide message middleware services.
Virtual Host
Virtual hosts provide logical separation of exchanges, queues, and bindings. Different applications run on different virtual hosts without interfering with each other.
Exchange
Exchanges receive and assign messages. Producers send messages to exchanges first, rather than directly to queues. Exchanges route messages to one or more queues based on routing keys. If there are no matching queues, the messages are discarded. To learn about exchange types, see Exchanges.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot