tanszek:oktatas:iss_t:rabbitmq_simple
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tanszek:oktatas:iss_t:rabbitmq_simple [2023/05/14 15:23] – létrehozva knehez | tanszek:oktatas:iss_t:rabbitmq_simple [2024/04/22 08:09] (current) – knehez | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== RabbitMQ | + | ===== RabbitMQ |
<code bash> | <code bash> | ||
git clone https:// | git clone https:// | ||
- | cd isis/ | + | cd isi/ |
docker-compose up -d rabbitmq | docker-compose up -d rabbitmq | ||
</ | </ | ||
Line 59: | Line 59: | ||
connection.close() | connection.close() | ||
</ | </ | ||
+ | |||
+ | **Task 1**: open port: 15672 -> **RabbitMQ** management extension pw: guest:guest | ||
+ | |||
+ | Launch producer | ||
+ | |||
+ | docker-compose up -d producer | ||
+ | |||
+ | Launch consumer | ||
+ | |||
+ | docker-compose up -d consumer | ||
+ | |||
+ | Check the **hello** queue form the management console. | ||
+ | |||
+ | **Task 2**: send a message by hand and check the console of the consumer: | ||
+ | |||
+ | docker-compose logs -f consumer | ||
+ | |||
tanszek/oktatas/iss_t/rabbitmq_simple.1684077818.txt.gz · Last modified: 2023/05/14 15:23 by knehez