L
L
Leo2014-09-24 15:44:02
RabbitMQ
Leo, 2014-09-24 15:44:02

How to implement receiver response to provider in RabbitMQ?

How the service works:
The main server does some calculations, generates messages and adds them to the queue. In this case, the server acts as a provider, and the recipients act as other servers.
python-two.png
Next, the recipients process the messages, also perform some calculations that need to be sent back to the main server.
Did I understand correctly that in order to implement sending a message to the main server, the server that was the recipient in the previous step must become a supplier and create its own queue for the main server?
python-one-overall.png
And then it turns out that on the main server it is necessary to implement: a supplier and a number of recipients equal to the number of servers that will send messages to it (or is it somehow limited to 1 recipient and one queue for all three suppliers)?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Simon, 2014-09-24
@STLEON

Most likely this is your option: habrahabr.ru/post/236221

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question