Bootstrap FreeKB - RabbitMQ - List policies using the rabbitmqctl list_policies command
RabbitMQ - List policies using the rabbitmqctl list_policies command

Updated:   |  RabbitMQ articles

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



Comments


Add a Comment


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