Rabbit MQ is an open source message queue service (https://www.rabbitmq.com/).
It implements AMQP 0-9-1 (https://www.rabbitmq.com/tutorials/amqp-concepts.html).
programming tutorials: https://www.rabbitmq.com/getstarted.html
sudo apt-get install rabbitmq-server # check service is installed and running service rabbitmq-server status # for python clients sudo pip install pika
(for other platforms see installation from the website)
rabbit-cat is a light rabbit MQ client in python available in comma.
see rabbit-cat -h for examples
For receiver run:
rabbit-cat listen localhost --queue="queue1"
For sender in a separate terminal:
echo "hello world!" | rabbit-cat send localhost --queue="queue1" --routing-key="queue1"