Answer the question
In order to leave comments, you need to log in
How to send messages from the queue only after the recipient's response?
There is send.php where the message queue is formed.
There is receive.php which receives messages.
How to send another message from send.php only after the response from receive.php?
Example:
There is a certain service that processes some information. When receiving a request for information processing, he needs 10 seconds for this action. After these 10 seconds, the service responds with "ok, done". After sending the first message from send.php, this service starts working. How to send the second message from send.php only after the response of receiver.php "ok, done"?
The question is asked in the context of PHP.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question