Hello Frank,<div><br></div><div>I&#39;ll reply on behalf of my Amqp bindings, Amqphp.</div><div><br></div><div>Amqphp doesn&#39;t support active-active &quot;out of the box&quot;, but there is support for incoming consumer.cancel messages, which AFAIK is one of the prerequisites for AA.  I&#39;m still unsure how this feature is implemented in Rabbit, as per my question further up this thread:</div>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Out of interest, how does the client know where to re-connect to when a queue fails (i.e. which slave got promoted)?  I&#39;ve seen the following (here: <a href="http://www.rabbitmq.com/ha.html">http://www.rabbitmq.com/ha.html</a>):<br>
&gt; Clients that were consuming from the mirrored-queue and support our Consumer Cancellation Notifications 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>
...but this doesn&#39;t give much detail.  Are the reconnection parameters in the consumer.cancel method?</blockquote><div><br></div><div><br></div><div>I must admit that there hasn&#39;t been much interest for AA in Amqphp, so I&#39;ve left it for now (as I&#39;m working on a new project!).  If people are now becoming interested in this I would happily look in to what&#39;s involved in setting this up.</div>
<div><br></div><div><br></div><div>Thanks,</div><div>--Robin</div><br><div class="gmail_quote">On 22 July 2012 05:29, thesilentman <span dir="ltr">&lt;<a href="mailto:od.ravani@gmail.com" target="_blank">od.ravani@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">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 class="HOEnZb"><div class="h5"><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&#39;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)?  I&#39;ve seen the following 
(here: <a href="http://www.rabbitmq.com/ha.html" target="_blank">http://www.rabbitmq.com/ha.<u></u>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&#39;t give much detail.  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. </div><div><br></div><div>BTW… I recommend that you use this version of the library: <a href="https://github.com/videlalvaro/php-amqplib" target="_blank">https://github.com/<u></u>videlalvaro/php-amqplib</a> for the reasons stated here: <a href="http://videlalvaro.github.com/2011/11/php-amqplib-future.html" target="_blank">http://videlalvaro.<u></u>github.com/2011/11/php-<u></u>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;  Is it possible to  implement Mirrored Queue ( active-active )using<br>
</div>&gt; php-ampliqb  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.<u></u>html</a> for details on how to set the<br>
&quot;x-ha-policy&quot; argument.<br>
<br>
<br>
<br>
-Emile<br>
______________________________<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>
</blockquote></div><br></div></div></div>
<br>______________________________<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>
<br></blockquote></div><br>
</blockquote></div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
Sent form my Nokia 1100</div><div><br></div></span><br>
</div>
<br></div></div></blockquote></div></div></div></blockquote></div><br></div>