* How to make a daemon
https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-rabbitmq
- Problem: "Cluster member: Node statistics not available."
- Solution: 
rabbitmq-plugins enable rabbitmq_management


* How to remove all queues
- rabbitmqadmin -f tsv -q list queues name | while read queue; do rabbitmqadmin -q delete queue name=${queue}; done



* How to remove all exchanges

- rabbitmqadmin -f tsv -q list exchanges name | while read exchange; do rabbitmqadmin -q delete exchange name=${exchange}; done


* RabbitMq 1 Connection is used per one process

* RabbitMq 1 Channel is used per one thread. (If multi-thread tries to use one channel, channel and connection will be closed!)


+ Recent posts