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've seen the following
(here: <a href="http://www.rabbitmq.com/ha.html" target="_blank">http://www.rabbitmq.com/ha.html</a>):<br>
<br>> 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. 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"><<a href="mailto:videlalvaro@gmail.com">videlalvaro@gmail.com</a>></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/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.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"><<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>></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>
> Hi<br>
><br>
> Is it possible to implement Mirrored Queue ( active-active )using<br>
</div>> php-ampliqb for<br>
> 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>