rabbitmq 的基本命令

访问量: 87

1. 启动,停止: sudo /etc/init.d/rabbitmq-server start

2. 查看其中的queue names: 

rabbitmqadmin list queues
+---------------------------+----------+
|           name            | messages |
+---------------------------+----------+
| aa.matching           | 0        |
| aa.notification.email | 0        |
| aa.order.processor    | 0        |
| aa.orderbook.slave    | 0        |
| aa.trade.new          | 0        |
+---------------------------+----------+

3. 删掉其中的某个 queue: 

rabbitmqadmin purge queue name=aa.notification.email

订阅/RSS Feed

Subscribe

分类/category