When using Exchange, you may need to perform some management operations such as unbinding relationships or deleting unneeded Exchange. This article introduces the directions for managing Exchange in the console.
Unbinding Exchange Relationships
Note:
In open-source Managed Clusters, the default Exchange named "AMQP default exchange" is bound by default to each Queue, with the routing key equal to the Queue Name. The binding relationship of the default Exchange is unable to cancel or delete.
Unbinding Exchange will stop the corresponding routes from providing services and cannot be restored. Proceed with caution.
2. Select Cluster > Exchange in the left sidebar, choose a Vhost, find the Target Exchange, and click View Binding in the Action column.
3. In the pop-up right panel, you can see the route relationship list bound to Exchange. Click Unbind in the operation bar.
4. Confirm deletion in the pop-up window to unbind Exchange.
Editing Exchange
Note:
Once an Exchange is created successfully, only its description can be modified. Other configuration properties cannot be manually modified. If you are using an open-source Managed Cluster, you can dynamically adjust specific attributes of the Exchange through custom Vhost policies in batch. For detailed directions, refer to Configure Vhost Policy. 1. In the Exchange list, find the Exchange that needs to be edited, then click Edit in the operation column.
2. In the pop-up dialog box, you can edit the Exchange description.
3. Click Submit to complete editing the Exchange.
Deleting Exchange
Note:
Warning: Once deleted, all configurations under the Exchange (including binding relationships between Exchange and Queue) will be cleared and cannot be restored.
1. In the Exchange list, find the Exchange that needs to be deleted, then click Delete in the operation column.
2. Click Delete in the pop-up prompt window to complete the deletion.