camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele <>
Subject Re: FTP Consumer has strange behaviour
Date Sat, 14 May 2016 09:21:51 GMT

Your route was working fine when you were reading from the local file
It is right.

In this case you'd leave that all alone and simply put in a new route to
read from the FTP location, 
write it to a local location, and then rename the file. Ok I tryed this and
it works fine.

I have another problem: for each row processed, i write a failed outcome in
csv file and then upload it on FTP Errors folder. 
I follow this link
to do this, but after processing the whole file the upload of file doesn't

Route is:

<route id="RemoteFileReader">
	<to uri="file:/tmp/localWork" />

<route id="LocalFileReader">
... process it
// OnException
<route id="ReportBuilderRoute">
	<from uri="direct:messageDiscarded" />
	<marshal ref="LoggerDataFormat" />
	<setHeader headerName="OutputUriReport">
// Upload outcome on FTP
<route id="ReportFileUploader_Route">

The route is blocked...Any idea? where is the mistake?

Thank you in advance.

Best regards


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message