RabbitMQ - List policies using the rabbitmqctl list_policies command

The rabbitmqctl list_policies command can be used to list the policies that have been created.

rabbitmqctl list_policies -p vhost001

 

Something like this should be returned. In this example, there is a a policy named policy001 in virtual host vhost001 to set the max length to 100 messages, and the policy is applied to queue001.

Listing policies for vhost "vhost001" ...
vhost     name        pattern    apply-to   definition           priority
vhost001  policy001   queue001   queues     {"max-length":100}   0

 




Did you find this article helpful?

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

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





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




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |