RabbitMQ - Bind a Queue and Exchange using the rabbitmqadmin command

This assumes you have downloaded and setup the rabbitmqadmin command line tool.

declare binding can be used to create a queue. In this example, a binding is created between exchange001 and queue001 with key001.

rabbitmqadmin declare binding source="exchange001" destination_type="queue" destination="queue001" routing_key="key001"


If the binding is created, the following should be returned.

binding declared


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 2ed42 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |