[rabbitmq-discuss] Java client QueueingConsumer question about nextDelivery(long timeout)

Matthias Radestock matthias at rabbitmq.com
Fri Jul 1 11:32:39 BST 2011


Guy,

On 30/06/11 06:51, Guy Boertje wrote:
> My testing using the Java client via jruby shows that using, for
> example, nextDelivery(500) will always take at least 500 milliseconds
> and not return early if a delivery could be take from the queue
> immediately.

That shouldn't happen, and looking at the code I can't see how it would. 
Can you post some code to reproduce this?

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list