Updated on 2024-10-15 GMT+08:00

Unbinding a RabbitMQ Exchange

This section describes how to unbind exchanges on the console. An exchange can be unbound from a target exchange or a queue can be unbound from a source queue.

Prerequisite

Unbinding an Exchange from a Target Exchange

  1. Log in to the console.
  2. In the upper left corner, click and select a region.

    Select the region where your RabbitMQ instance is in.

  3. Click and choose Middleware > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
  4. Click an instance name to go to the instance details page.
  5. In the navigation pane, choose Virtual Hosts.
  6. Click a virtual host name.
  7. On the Exchange tab page, click Bind Exchange in the row containing the desired exchange.
  8. In the row containing the desired exchange, click Remove Binding.

    Removing a binding makes it unavailable permanently. Exercise caution.

  9. Click Yes.

Unbinding a Queue from a Source Exchange

  1. Log in to the console.
  2. In the upper left corner, click and select a region.

    Select the region where your RabbitMQ instance is in.

  3. Click and choose Middleware > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
  4. Click an instance name to go to the instance details page.
  5. In the navigation pane, choose Virtual Hosts.
  6. Click a virtual host name.
  7. On the Queue tab page, click View Detail in the row containing the desired queue.
  8. In the row containing the desired exchange, click Remove Binding.

    Figure 1 Queue details

    Removing a binding makes it unavailable permanently. Exercise caution.

  9. Click Yes.