[rabbitmq-discuss] waitForConfirmsOrDie vs waitForConfirmsOrDie(long timeout)

Zhihui Jiao jzhihui521 at gmail.com
Thu Feb 27 02:42:31 GMT 2014


From the source code (https://github.com/rabbitmq/rabbitmq-java-client/blob/master/src/com/rabbitmq/client/impl/ChannelN.java#L206),
you can see that, waitForConfirmsOrDie() calls waitForConfirmsOrDie(0L).


在 2014年2月27日,上午8:29,cw storm <cwstorm at gmail.com> 写道:

> So, is it safe to use waitForConfirmsOrDie() vs the one with an elapse time?
> 
> 
> On Wed, Feb 26, 2014 at 4:29 PM, cw storm <cwstorm at gmail.com> wrote:
> 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.
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


Best Regards
Zhihui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140227/e15bbb07/attachment.html>


More information about the rabbitmq-discuss mailing list