Process of Using RabbitMQ
Based on the open-source RabbitMQ, Distributed Message Service (DMS) for RabbitMQ provides messaging services with rich messaging features, flexible routing, alarms, monitoring, and high availability functions. It is applicable to flash sales, flow control, and system decoupling scenarios.
The following figure shows the process of using a RabbitMQ instance to produce and consume messages.
- Creating an IAM 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.