This topic describes the global message routing feature and how to manage message routing tasks. This feature can help you route messages and synchronize data between different instances or between different vhosts based on your business requirements.
Background information
You can use the global message routing feature in the same manner in which you use the Shovel plug-in for open source RabbitMQ. You can use this feature to forward messages from a queue to another queue or from a queue to an exchange. The source and destination can belong to different instances or vhosts in the same region or different regions.
Note
- The global message routing feature provided by Message Queue for RabbitMQ is available only if messages are forwarded between different instances, vhosts, or queues in the same region.
- The global message routing feature incurs fees. You are charged based on the following
formula:
Total fees = Fees incurred by Message Queue for RabbitMQ + Forwarding fees incurred by EventBridge. For more information about the billing methods of Message Queue for RabbitMQ, see Billing for Message Queue for RabbitMQ. For more information about the billing methods of EventBridge, see Billing for EventBridge.
- The global message routing feature does not support relay message routing. If you want to forward messages from Instance A to Instance C, messages cannot be forwarded from Instance A to Instance B and then to Instance C. In this case, you must create a route from Instance A to Instance C.
- During message synchronization, the number of messages that you want to synchronize and the limited network bandwidth can cause latency.
Prerequisites
- Message Queue for RabbitMQThe source instance, vhost, exchange, and queue are created and available. The destination instance, vhost, exchange, and queue are created and available. For more information, see the following links:
- EventBridge
Create a message routing task
Related operations
Message Queue for RabbitMQ allows you to manage message routing tasks. For example, you can view the details of message routing tasks. You can disable, modify, and delete message routing tasks.
- On the Global Message Routing page, search for a task by task name in the search box.
- Find the task that you want to manage. In the Actions column, you can perform the following operations on the task based on your business
requirements:
- Click Details to view the configuration of the message routing task.
- Click Stop to disable the message routing task.
- Click Edit to modify the configuration of the message routing task.
- Click Delete to delete the message routing task.