Rabbitmqctl

From 탱이의 잡동사니
Jump to: navigation, search

Overview

Rabbitmqctl 내용 정리

list_bindings

현재 등록되어 있는 모든 binding 을 보여준다.

list_bindings [-p <vhost>] [<bindinginfoitem> ...]

Example

$ sudo rabbitmqctl list_bindings
Listing bindings ...
	exchange	amq.gen-k7B1E4JLaV7BsI8oblM1KQ	queue	amq.gen-k7B1E4JLaV7BsI8oblM1KQ	[]
	exchange	amq.gen-oyANA7-Iy9ZXFN0ll2TjsA	queue	amq.gen-oyANA7-Iy9ZXFN0ll2TjsA	[]
	exchange	hello	queue	hello	[]
	exchange	task_queue	queue	task_queue	[]
logs	exchange	amq.gen-k7B1E4JLaV7BsI8oblM1KQ	queue		[]
logs	exchange	amq.gen-oyANA7-Iy9ZXFN0ll2TjsA	queue		[]

list_exchanges

등록되어 있는 모든 exchange 내용을 보여준다.

list_exchanges [-p <vhost>] [<exchangeinfoitem> ...]

Example

$ sudo rabbitmqctl list_exchanges
Listing exchanges ...
amq.headers	headers
	direct
amq.match	headers
amq.direct	direct
amq.rabbitmq.trace	topic
amq.rabbitmq.log	topic
amq.fanout	fanout
amq.topic	topic