skip to content
Alvin Lucillo

Listing rabbitmq policies

/ 1 min read

To list the policies we set previously, just use list policies. In the example below, we can see the ack-timeout-demo policy.

docker exec -it rabbitmq rabbitmqadmin list policies

┌──────────────────┬───────┬────────────────────┬──────────┬──────────┬──────────────────────────┐
│ name             │ vhost │ pattern            │ apply_to │ priority │ definition               │
├──────────────────┼───────┼────────────────────┼──────────┼──────────┼──────────────────────────┤
│ ack-timeout-demo │ /     │ ^ack-timeout-demo$ │ queues   │ 0        │ consumer-timeout: 300000 │
│                  │       │                    │          │          │                          │
└──────────────────┴───────┴────────────────────┴──────────┴──────────┴──────────────────────────┘