Hi

It has to do one poll to check if any messages, as its on-demand. Its
not like a internal message queue where messages are just waiting, and
a receiveNoWait can return asap if the queue is empty.


On Thu, Aug 7, 2014 at 11:40 AM, tturek <[email protected]> wrote:
> Hi all,
>
> I have this piece of code:
>
>
> I want to use receiveNoWait() polling method on PollingConsumer but polling
> does not return null immediately. Method waits a delay time and after that
> returns null.
> Same problem is with consumer.receive(long) also ignores timeout.
>
> Thank you
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/PollingConsumer-receive-timout-bug-tp5754890.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to