[rabbitmq-discuss] waitForConfirmsOrDie vs waitForConfirmsOrDie(long timeout)
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss