File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,26 @@ rabbitmqadmin --vhost "events" declare queue --name "target.classic.queue.name"
144144rabbitmqadmin --vhost " events" delete queue --name " target.queue.name"
145145```
146146
147+ ### Declare an exchange
148+
149+ ``` shell
150+ rabbitmqadmin --vhost " events" declare exchange --name " events.all_types.topic" --type " topic" --durable true
151+ ```
152+
153+ ``` shell
154+ rabbitmqadmin --vhost " events" declare exchange --name " events.all_type.uncategorized" --type " fanout" --durable true --auto-delete false
155+ ```
156+
157+ ``` shell
158+ rabbitmqadmin --vhost " events" declare exchange --name " local.random.c60bda92" --type " x-local-random" --durable true
159+ ```
160+
161+ ### Delete an exchange
162+
163+ ``` shell
164+ rabbitmqadmin --vhost " events" delete exchange --name " target.exchange.name"
165+ ```
166+
147167
148168## Configuration Files
149169
You can’t perform that action at this time.
0 commit comments