* How to make a daemon
- 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