<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">From the source code (<a href="https://github.com/rabbitmq/rabbitmq-java-client/blob/master/src/com/rabbitmq/client/impl/ChannelN.java#L206">https://github.com/rabbitmq/rabbitmq-java-client/blob/master/src/com/rabbitmq/client/impl/ChannelN.java#L206</a>),<div>you can see that, waitForConfirmsOrDie() calls waitForConfirmsOrDie(0L).</div><div><br></div><div><br><div><div><div>�� 2014��2��27�գ�����8:29��cw storm <<a href="mailto:cwstorm@gmail.com">cwstorm@gmail.com</a>> д����</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">So, is it safe to use <span style="font-family:arial,sans-serif;font-size:13px">waitForConfirmsOrDie() vs the one with an elapse time?</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 26, 2014 at 4:29 PM, cw storm <span dir="ltr"><<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@gmail.com</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">Any preference over the two?  Right now, I'm using waitForConfirmsOrDie().  Question is when will it die.  I don't want for it too wait infinitely.</div>

</blockquote></div><br></div>
_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote></div><br><div>
<br>Best Regards<br>Zhihui

</div>
<br></div></div></body></html>