Why do we need routing key in RabbitMQ?

There are several types of exchanges. The fanout exchange ignores the routing key and sends messages to all queues. But pretty much all other exchange types use the routing key to determine which queue, if any, will receive a message. The tutorials on the RabbitMQ website describes several usecases where different exchange types are useful … Read more

Is it possible to view RabbitMQ message contents directly from the command line?

You should enable the management plugin. rabbitmq-plugins enable rabbitmq_management See here: http://www.rabbitmq.com/plugins.html And here for the specifics of management. http://www.rabbitmq.com/management.html Finally once set up you will need to follow the instructions below to install and use the rabbitmqadmin tool. Which can be used to fully interact with the system. http://www.rabbitmq.com/management-cli.html For example: rabbitmqadmin get queue=<QueueName> … Read more

Delete all the queues from RabbitMQ?

First, list your queues: rabbitmqadmin list queues name Then from the list, you’ll need to manually delete them one by one: rabbitmqadmin delete queue name=”queuename” Because of the output format, doesn’t appear you can grep the response from list queues. Alternatively, if you’re just looking for a way to clear everything (read: reset all settings, … Read more

techhipbettruvabetnorabahisbahis forumu