[rabbitmq-discuss] Graceful shutdown of blocking consumers in PHP?
videlalvaro at gmail.com
Fri May 24 14:40:23 BST 2013
While I'm biased by being the maintainer of php-amqplib, one thing I like
from that library is the ability to have multiple consumers on the same PHP
On Fri, May 24, 2013 at 3:31 PM, Colleen Mirabello <
colleen at surfmerchants.com> wrote:
> Using that library, I don't believe there's a way to get the same script
> to consume from multiple queues using consume(). Once you call consume(),
> the script blocks waiting for messages from that queue.
> - Colleen
> On 5/23/2013 5:41 PM, Alvaro Videla wrote:
>> Using that library, can you consume from more than one queue? If yes,
>> then you could send control messages to the script and make it stop.
>> With php-amqplib since the while loop is part of user land code, you can
>> control all the consuming parts on your own so this wouldn't be a problem.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss