Test of RabbitMQ in Python, using docker container for execution of RabbitMQ, consumer.py and producer.py. The files are bundled together using docker-compose
This is simple messaging test for RabbitMQ.
This script waits for messages.
This script sends one message and leaves.
Requirements:
- Python
- Erlang/OTP
- RabbitMQ
- Docker
python.exe C:\projetos\rabbitMQtest\consumer.py
[*] Waiting for messages. To exit press CTRL+C
[x] Received b'Hello World!'
[x] Received b'Hello World!'
[x] Received b'Hello World!'
[x] Received b'Hello World!'
python.exe C:\projetos\geolocation\producer.py
[x] Sent 'Hello World!'