<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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 class="Apple-interchange-newline"><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.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">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/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.github.com/2011/11/php-amqplib-future.html</a></div>

<div><br></div><div>Regards,</div><div><br></div><div>Alvaro<div><div class="h5"><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.html</a> for details on how to set the<br>
"x-ha-policy" argument.<br>
<br>
<br>
<br>
-Emile<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>
</blockquote></div><br><div>
<span class="Apple-style-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; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Sent form my Nokia 1100</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>