<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/12/18 Ryan Brown <span dir="ltr"><<a href="mailto:ryankbrown@gmail.com" target="_blank">ryankbrown@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Is anybody aware of a good example doing publisher confirms, preferably in erlang but any language will do. Also, is it necessary to do it for each message? I know, theoretically, the answer is no. But I have a wrapper around Rabbit that must return synchronously to clients publishing messages so it appears to be the best option.</blockquote>

</div><br>It depends on your client library. E.g. in Java, C# and Ruby (Bunny) you can publish as many messages<br clear="all"><div>as you want and then use Channel#waitForConfirms to wait for all outstanding confirms to arrive.</div>

<div><br></div><div>it doesn't have to be done per message and RabbitMQ pushes confirms to you, you do not poll for acknowledgements.</div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>

<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>