You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Chirag Dewan <ch...@yahoo.in> on 2014/06/10 06:56:05 UTC

FTPConsumer with streamdownload=true not able to produce file

Hello Camel Riders,

I have a route :

from("ftp:/user@host:port/path?streamdownload=true").process("File Renaming Processor").to("file:/path);

Now this works fine for 10-15k files. After that no more files are consumed. I used JMC to profile my application. I can see that the consumer thread is running,but there is an InvalidPayloadException in File Producer.

Now,do I need to use stream caching? I do not re-read the stream in this route. My onException route only logs the exception.

Thanks

Chirag