Hello!
A Python script listens to the queue. Accordingly, when something appears in the queue, it must process the message.
It is also necessary to ensure control of the script in the sense that if the script has stopped working for any reason, it is necessary to re-run.
Please suggest how it can be implemented?