<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hmm ... I'll look into using basic.consume with two channels like
you suggest.<br>
<br>
There is one more channel that we use :( Direct channel by which
worker process (consumer) sends ECHO message to itself, because we
couldn't make php-amqplib recognize that RabbitMQ has gone away. <br>
<br>
Alvaro, is there support for AMQP heartbeat in php-amqplib? I was
not being able to find and activate it :(<br>
<br>
On 05/19/2013 05:26 PM, Michael Klishin wrote:<br>
</div>
<blockquote
cite="mid:CAE3HoVT6Lg-T0Li9qJhxPnhi3PZrvcmzfbuSWMmrrcutfX_E7A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">2013/5/19 Nikola Savic <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:niks@osic.rs"
target="_blank">niks@osic.rs</a>></span><br>
<div class="gmail_quote">
<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">We're
not using basic_consume, since we must monitor two
different channels/exchanges (one direct and one fannout).
This is because workers must get messages (task related)
by direct queue, and broadcasts over fannout</blockquote>
</div>
<br>
You should be able to do this easily with any client using
basic.consume.<br>
<br clear="all">
<div style="">Also, sounds like a suitable use case for
exchangeo-to-exchange bindings:</div>
<div style=""><br>
</div>
<div style=""><a moz-do-not-send="true"
href="http://www.rabbitmq.com/e2e.html">http://www.rabbitmq.com/e2e.html</a><br>
</div>
-- <br>
MK<br>
<br>
<a moz-do-not-send="true"
href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>
<a moz-do-not-send="true"
href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rabbitmq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>
<a class="moz-txt-link-freetext" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>