This section describes how to manage data outbound rules in the Message Queue for MQTT console.
Background information
You must create data outbound rules before you can export data from Message Queue for MQTT to other Alibaba Cloud services. Message Queue for MQTT uses data outbound rules
to forward messages from Message Queue for MQTT clients to other Alibaba Cloud services.
You can call APIs of the Alibaba Cloud services to obtain messages from the Message
Queue for MQTT clients. 

Limits
For more information, see Rule-related limits.
Create a data outbound rule
Note For more information about the message structure mappings between Message Queue for MQTT and Message Queue for Apache RocketMQ, see Message structure mappings between Message Queue for MQTT and Message Queue for Apache RocketMQ.
Edit a data outbound rule
- Log on to the Message Queue for MQTT console.
- In the left-side navigation pane, click Instances.
- In the top navigation bar, select the region where your instance is located.
- Find the instance for which you want to create a data outbound rule in the instance list. In the Actions column, choose .
- In the rule list, find the rule that you want to edit. In the Actions column, choose .
- On the Edit Rule page, you can change all parameter values except the rule ID.
- After you change parameter values as needed, click Save in the Configure Rule Destination step.
Delete a data outbound rule
- Log on to the Message Queue for MQTT console.
- In the left-side navigation pane, click Instances.
- In the top navigation bar, select the region where your instance is located.
- Find the instance for which you want to create a data outbound rule in the instance list. In the Actions column, choose .
- In the rule list, find the rule that you want to delete. In the Actions column, choose .
- In the message that appears, click OK.
Enable a data outbound rule
- Log on to the Message Queue for MQTT console.
- In the left-side navigation pane, click Instances.
- In the top navigation bar, select the region where your instance is located.
- Find the instance for which you want to create a data outbound rule in the instance list. In the Actions column, choose .
- In the rule list, find the rule that you want to enable. In the Actions column, choose .
- In the message that appears, click OK.
Disable a data outbound rule
- Log on to the Message Queue for MQTT console.
- In the left-side navigation pane, click Instances.
- In the top navigation bar, select the region where your instance is located.
- Find the instance for which you want to create a data outbound rule in the instance list. In the Actions column, choose .
- In the rule list, find the rule that you want to disable. In the Actions column, choose .
- In the message that appears, click OK.