Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

List the queues associated with a vhost

This can be used to quickly check if there are any queued messages before RabbitMQ admin.

Code Block
titleTo show queues of a vhost
$ rabbitmqadmin --user=$RBT_USER --password=$RBT_PASSWD --vhost=$VHOST list queues
+----------------------+----------+
|         name         | messages |
+----------------------+----------+
| q.type1              | 0        |
| q.type2              | 0        |
| sys.q.audit.01       | 0        |
| sys.q.dead.letter.01 | 0        |
| sys.q.unrouted.01    | 0        |
+----------------------+----------+

...