How to create an exchange using rabbitmqctl

10.7k views Asked by At

rabbitmqctl have the subcommand list_exchanges to list all the exchanges. How can I create an exchange using rabbitmqctl, as I didn't see the add_exchanges subcommands?

1

There are 1 answers

0
cantSleepNow On

Exchanges cannot be created with rabbitmqctl. You can use rabbitmqadmin for that, search for Declare an exchange on that link.

Additionally exachages can be created "manually" using the web browser with rabbitmq management plugin, or with rabbitmq rest api.