How in RabbitMQ and PHP return task back to the queue?
问题 How can I return message back to the queue if processing result did not suit me. Found only information about message acknowledgments but I think that it does not suit me. I need that if as a result of processing I get the parameter RETRY message is added back to the queue. And then this worker or another one picks it up again and tries to process it. For example: <?php use PhpAmqpLib\Connection\AMQPStreamConnection; echo ' [*] Waiting for messages. To exit press CTRL+C', "\n"; $connection =