Bootstrap FreeKB - RabbitMQ - Delete dynamic shovel using rabbitmqctl clear_parameter
RabbitMQ - Delete dynamic shovel using rabbitmqctl clear_parameter

Updated:   |  RabbitMQ articles

A shovel is used to move a message from a queue or exchange to a different queue or exchage. The queues or exchanges can reside on the same RabbitMQ node or on different RabbitMQ nodes.

 

AVOID TROUBLE

There are two types of shovels.

Only a dynamic shovel can be deleted using the rabbitmqctl clear_parameter command.

 

The rabbitmqctl command with the clear_parameter option can be used to delete a dynamic shovel.

rabbitmqctl clear_parameter --vhost vhost001 shovel shovel001

 

If something like this is returned, use the rabbitmqctl list_parameters command to ensure the parameter exists.

Error:
Parameter does not exist

 

On the other hand, if the shovel exists, something like this should be returned.

Clearing runtime parameter "shovel001" for component "shovel" on vhost "vhost001" ...

 

If the shovel is still showing at Shovel Status in the RabbitMQ web browser console, you may need to restart the RabbitMQ service to get the shovel to no longer show at Shovel Status in the web browser console.




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 7e9b0d in the box below so that we can be sure you are a human.