camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: ConsumerTemplate issue
Date Fri, 14 Jun 2013 11:32:24 GMT

This is not a bug. ReceiveNoWait is for queing systems where messages
is already available in a queue, eg SEDA / JMS etc.
When you poll from a ftp/file then its polled on demand, and you need
to give it some amble time to do this eg with the timeout option.

On Thu, Jun 13, 2013 at 4:39 PM, thorbcn <> wrote:
> I've done same test now with ftp endpoint
> InputStream is=
> consumer.receiveBodyNoWait("ftp://admin@localhost:2121/test?fileName="+filename+"&password=admin",
> InputStream.class);
> Using receiveBodyNoWait method a null is returned, but using receiveBody
> setting a timeout the test works...
> I really think this may be a bug. I'm testing camel v2.11 in win8 and apache
> ftp-server 1.0.6...
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message