[rabbitmq-discuss] special values for timeouts

Tony Garnock-Jones tonyg at lshift.net
Fri Apr 30 01:26:31 BST 2010


Jim Irrer wrote:
> And was wondering, if the timeout value is zero or negative, will the
> the method wait forever?

Um. Good question! The timeout is passed on to BlockQueue's poll() method, and
the Javadocs for that are unclear. Experimentation will be required to find the
answer, I'm afraid.

Regards,
  Tony




More information about the rabbitmq-discuss mailing list