Process of Using RabbitMQ
The following figure shows the process of using a RabbitMQ instance to produce and consume messages.
![](https://support.huaweicloud.com/intl/en-us/usermanual-rabbitmq/en-us_image_0000001975628625.png)
- Creating a User and Granting DMS for RabbitMQ Permissions
Create IAM users and grant them only the DMS for RabbitMQ permissions required to perform a given task based on their job responsibilities.
- Buying a RabbitMQ Instance
RabbitMQ instances are tenant-exclusive, and physically isolated in deployment.
- Creating a RabbitMQ Virtual Host
To connect a producer or consumer to a RabbitMQ instance, you must specify a virtual host.
- Creating a RabbitMQ Exchange
Producers send messages to exchanges first, rather than directly to queues. Exchanges route messages to queues based on routing keys.
- Creating a RabbitMQ Queue
Queues store messages. Each message is sent to one or multiple queues.
- Binding a RabbitMQ Queue
Exchanges route messages to queues based on routing keys.
- Accessing a RabbitMQ Instance
The client access RabbitMQ instances over a private or public network, and produces and consumes messages.
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