<div dir="ltr">Hi,<div><br></div><div>"Totally unrelated" : that's what I undestand from the documentation, but it seems to be what's going on in my case.</div><div><br></div><div>"<span style="font-family:arial,sans-serif;font-size:13px">you really need round trip acknowledgment from producer -> broker -> consumer -> back to producer, you need [...] our simple RPC" : that's exactly what I don't want in this case !</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div>After some digging, I discovered that my producer and consumer run on the same thread but they souldn't (for now, producer and consumer run in the same application). So my consumer thread sleep affects my publisher thread. That's obviously a flaw in my own design and seems to have nothing to do with RabbitMQ itself.</div>

<div><br></div><div>Thanks for your concern and your clarification about publisher confirms which made me think about monitoring running threads and so came onto this !</div><div><br></div><div>Regards,</div><div>Bertrand</div>


</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><table border="0" cellpadding="0" cellspacing="0" width="520" style="font-family:'Times New Roman'"><tbody><tr><td colspan="2" style="border-top-width:1px;border-top-style:solid;border-top-color:rgb(208,208,208);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(208,208,208);padding:15px 0px 15px 10px">

<table border="0" cellpadding="0" cellspacing="0" width="100%" style="font-size:11px"><tbody><tr valign="top" style="line-height:15px"><td width="205"><a href="http://www.allocine.fr/" target="_blank"><img src="http://static1.purepeople.com/ads/sign/logo-AC.png" width="172" height="60" border="0"></a></td>

<td width="315" style="padding-left:15px"><b style="font-size:16px;color:rgb(72,72,72)">Bertrand Lemasle</b><br><div style="font-size:14px;color:rgb(239,189,2);line-height:18px">Software architect</div><br><table border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height:normal;color:rgb(154,154,154)">

<tbody><tr valign="top" style="line-height:15px"><td width="40%">T�l : 01.71.39.81.20</td><td width="60%">Mail :�<a href="mailto:xxxxxxx@allocine.fr" target="_blank">blemasle@allocine.fr</a></td></tr><tr valign="top" style="line-height:15px">

<td width="40%">Mob. : 06.42.55.93.10</td><td width="60%"><br></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td colspan="2" style="font-size:12px;color:rgb(154,154,154);padding:10px 0px 5px">Adresse : 3, avenue Hoche - 75008 Paris (Hall 1, Etage 5) - Tel : 01.71.39.81.00</td>

</tr><tr><td colspan="2" style="font-size:10px;color:rgb(154,154,154);line-height:11px"><a href="http://www.purepeople.com/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.purepeople.com</a>�-�<a href="http://www.allocine.fr/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.allocine.fr</a>�-�<a href="http://www.puretrend.com/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.puretrend.com</a>�-�<a href="http://www.puremedias.com/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.puremedias</a>�-�<a href="http://www.purebreak.com/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.purebreak.com</a><br>

<a href="http://www.terrafemina.com/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.terrafemina.com</a>�-�<a href="http://www.purecharts.fr/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.purecharts.fr</a>�-�<a href="http://www.canalblog.com/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.canalblog.com</a>�-�<a href="http://www.pureshopping.fr/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.pureshopping.fr</a>�-�<a href="http://www.newsring.fr/" style="text-decoration:none;color:rgb(154,154,154)" target="_blank">www.newsring.fr</a><br>

<br></td></tr></tbody></table></div></div>
<br><br><div class="gmail_quote">2014/1/22 Jerry Kuch <span dir="ltr"><<a href="mailto:jkuch@gopivotal.com" target="_blank">jkuch@gopivotal.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Wed, Jan 22, 2014 at 9:07 AM, Bertrand LEMASLE <span dir="ltr"><<a href="mailto:blemasle@allocine.fr" target="_blank">blemasle@allocine.fr</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div></div><div>After reading many docs and mails on this subject (<a href="http://www.rabbitmq.com/confirms.html" target="_blank">http://www.rabbitmq.com/confirms.html</a> included which explains when a message will be confirmed), I still haven't found an answer to my question. When using publisher confirm (by using confirmSelect on the channel), messages aren't ack until they are either ack or nack by at least one consumer.</div>


</div></blockquote><div><br></div></div><div>Totally unrelated. �The publisher confirm mechanism only goes so far as the transfer of responsibility for a message's well being from the *publisher* into the *broker*.�</div>

<div>
<br></div><div>Receipt of a publisher confirm means the broker has accepted your message and done what you asked of it, e.g. persisted it to disk, made sure it was replicated to any applicable mirrored queues, etc.</div>

<div>
<br></div><div>Consumers consume from queues, and their AMQP Ack mechanism is analogous to, in the sense of responsibility transfer, but *totally uncoupled from* any publisher confirm happening on the inbound side.</div>

<div>
<br></div><div>If you really need round trip acknowledgment from producer -> broker -> consumer -> back to producer, you need to build that into your messaging workflow as, for example, our simple RPC over AMQP facility does. �You might look at the tutorial examples using it, since they may directly fit your intended use case.</div>


<div><br></div><div>Best regards,</div><div>Jerry</div><div><br></div></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></div>