<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I haven't done any work into php-amqplib regarding the HA features supported by RabbitMQ. As far as I remember you can declare queues with extra arguments and so on, but that is as far as it went.</div><div><br></div><div>-Alvaro</div><div><br><div><div>On Jul 22, 2012, at 6:29 AM, thesilentman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello Alvaro,<div><br></div><div>did you find time to test this? I am evaluating rabbitmq for a php project and need to know what lib I can use?</div><div><br></div><div>Thanks,</div><div>Frank</div><div><br><br>On Tuesday, January 3, 2012 11:00:22 PM UTC+2, Alvaro Videla wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div style="word-wrap:break-word">Hi Robin,<div><br></div><div>The library implements the basic.cancel method but I haven't tested this yet.</div><div><br></div><div>I think I will try to set up a Demo and implement any missing features in case they are needed.</div><div><br></div><div>Alvaro</div><div><br><div><div>On Jan 3, 2012, at 9:03 PM, Robin Harvey wrote:</div><br><blockquote type="cite">Alvaro - does php-amqplib support incoming consumer cancels?<br><br><br>Out
 of interest, how does the client know where to re-connect to when a 
queue fails (i.e. which slave got promoted)?&nbsp; I've seen the following 
(here: <a href="http://www.rabbitmq.com/ha.html" target="_blank">http://www.rabbitmq.com/ha.<wbr>html</a>):<br>
<br>&gt; Clients that were consuming from the mirrored-queue
            and support our <a href="http://www.rabbitmq.com/extensions.html#consumer-cancel-notify" target="_blank">Consumer
            Cancellation Notifications</a> extension will receive a
            notification that their subscription to the mirrored-queue
            has been abruptly cancelled. At this point they should
            re-consume from the queue, which will pick up the new
            master<br><br>...but this doesn't give much detail.&nbsp; Are the reconnection parameters in the consumer.cancel method?<br><br><br>Thanks,<br>--Robin<br><br><div class="gmail_quote">On 3 January 2012 15:07, Alvaro Videla <span dir="ltr">&lt;<a href="mailto:videlalvaro@gmail.com" target="_blank">videlalvaro@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>Yes… it should support the arguments parameter.&nbsp;</div><div><br></div><div>BTW… I recommend that you use this version of the library:&nbsp;<a href="https://github.com/videlalvaro/php-amqplib" target="_blank">https://github.com/<wbr>videlalvaro/php-amqplib</a> for the reasons stated here:&nbsp;<a href="http://videlalvaro.github.com/2011/11/php-amqplib-future.html" target="_blank">http://videlalvaro.<wbr>github.com/2011/11/php-<wbr>amqplib-future.html</a></div>

<div><br></div><div>Regards,</div><div><br></div><div>Alvaro<div><div><br><br><div class="gmail_quote">On Tue, Jan 3, 2012 at 4:00 PM, Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dhaneesh,<br>
<div><br>
On 30/12/11 04:25, Dhaneesh Radhakrishnan wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; &nbsp;Is it possible to &nbsp;implement Mirrored Queue ( active-active )using<br>
</div>&gt; php-ampliqb &nbsp;for<br>
&gt; HA<br>
<br>
Judging by the queue_declare() function, php-amqplib does support<br>
arguments, so it is possible to make use of mirrored queues using this<br>
library.<br>
<br>
See <a href="http://www.rabbitmq.com/ha.html" target="_blank">http://www.rabbitmq.com/ha.<wbr>html</a> for details on how to set the<br>
"x-ha-policy" argument.<br>
<br>
<br>
<br>
-Emile<br>
______________________________<wbr>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<wbr>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<wbr>cgi-bin/mailman/listinfo/<wbr>rabbitmq-discuss</a><br>
</blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<wbr>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<wbr>cgi-bin/mailman/listinfo/<wbr>rabbitmq-discuss</a><br>
<br></blockquote></div><br>
</blockquote></div><br><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div>Sent form my Nokia 1100</div><div><br></div></span><br>
</div>
<br></div></div></blockquote></div>_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote></div><br></div></body></html>