vinod hy
vinod hy

Reputation: 895

How to delete rabbitmq shovels through commandline

I created shovels using , rabbitmqctl set_parameter shovel "MyShovel" ......

Now i want to delete it, Can you please tell me on how to achieve it using commandline.

Upvotes: 2

Views: 5162

Answers (2)

biniam
biniam

Reputation: 8199

You can also list and delete shovels from the command line using rabbitmqadmin

Listing Shovels command

rabbitmqadmin --host=HOST --port=443 --ssl --vhost=/ --username=USERNAME --password=PASSWORD -f tsv -q list parameters name component

Delete a Shovel command

rabbitmqadmin --host=HOST --port=443 --ssl --vhost=/ --username=USERNAME --password=PASSWORD -f tsv -q delete parameter component=shovel name=nameOfShovel

Upvotes: 0

Dave Yarwood
Dave Yarwood

Reputation: 3010

I tried this and it works more or less instantly:

rabbitmqctl clear_parameter shovel MyShovel

Upvotes: 1

Related Questions