<div dir="ltr">While I&#39;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 script.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, May 24, 2013 at 3:31 PM, Colleen Mirabello <span dir="ltr">&lt;<a href="mailto:colleen@surfmerchants.com" target="_blank">colleen@surfmerchants.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alvaro,<br>
<br>
Using that library, I don&#39;t believe there&#39;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.<br>
<br>
Thanks.<span class="HOEnZb"><font color="#888888"><br>
<br>
� � - Colleen</font></span><div class="im HOEnZb"><br>
<br>
<br>
On 5/23/2013 5:41 PM, Alvaro Videla wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
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.<br>
<br>
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&#39;t be a problem.<br>
<br>
Regards,<br>
<br>
Alvaro<br>
<br>
</blockquote></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>