-
Is it possible that process multiple messages at the same time with just one consumer? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
PHP does not support threads out of the box, if You mean really "at the same time". Even if it does, this library could not handle simultanous packets from different threads. |
Beta Was this translation helpful? Give feedback.
-
Yes, consume all messages is possible, this is standard feature. This line is consume all messages: amqp_consumer.php#L68 |
Beta Was this translation helpful? Give feedback.
Yes, consume all messages is possible, this is standard feature.
See demo /demo/amqp_consumer.php
This line is consume all messages: amqp_consumer.php#L68
And here amqp_consumer.php#L44-L56 is method for your processing each message.