IBM Cloud Docs
RabbitMQ Shovel

RabbitMQ Shovel

Shovel is a plug-in for RabbitMQ that enables you to define replication relationships between brokers.

Prerequisite

Before you configure Shovel, make sure that you create a user with admin permission on both formations. For more information, see Managing Users and Permissions.

Configuring RabbitMQ Shovel

Create your Shovel on the destination formation. In RabbitMQ versions 3.12 and newer, it is mandatory to add verify_none in the source and destination URI, as detailed in the configuration procedure.

Follow these steps to configure RabbitMQ Shovel:

  1. Log in to the RabbitMQ Management UI and select the Admin tab.
  2. Select Shovel Management from the list.
  3. Add a new shovel with the following information, then click Add shovel:
    • Name: test-shovel
    • Source: AMQP 0.9.1
      • URI: amqps://username:password@<source_hostname>:<source_port>?verify=verify_none
      • Queue_name: source_queue
    • Destination: AMQP 0.9.1
      • URI: amqps://username:password@<target_hostname>:<target_port>?verify=verify_none
      • Queue_name: target_queue
  4. Review the details to verify that the shovel is created correctly.
  5. To verify Shovel status, select Shovel status.
  6. Now you can add a message to your source queue and it will redirect to the destination queue.