you could try to add disconnect=true

Bart Horré
Anova r&d bvba

On Fri, Feb 6, 2015 at 5:18 PM, lakshma <[email protected]>
wrote:

> Camel FTP - FTP poll is not consuming any files from ftp server:
>
> Route sample -
> from("ftp://xxx@yyyy/zzzz?";
>  + "password=RAW(ftp.pass)"
>  + "&delete=true"
>  + "&idempotent=true"
>  + "&include=vmstosolr.*"
>  + "&consumer.exceptionHandler=#cantConnectHandler"
>  + "&consumer.delay=10000"
>  + "&consumer.greedy=false"
>  + "&consumer.backoffMultiplier=10"
>  + "&consumer.backoffIdleThreshold=3"
>  + "&consumer.backoffErrorThreshold=3"
>  + "&passiveMode=true"
>  + "&localWorkDirectory=file.tmp")
> .routeId("fromFtpToCsvRecords")
>  .routePolicy(routePolicy)
>  .to("file.inbox");
>
> FTP poll works fine most of the time. But once in a while I see the below
> error in my log. From the point this error occured, No files getting
> consumed from ftp server. Files keep getting accumilated on the ftp and has
> to restart the tomcat server which host the application that contains ftp
> component logic.
>
> "File operation failed: 150 Opening ASCII mode data connection for
> vmstosolr_20150204215023.csv.
>  IOException caught while copying.. Code: 150"
>
> Camel version - 2.12.3
>
> Please suggest ASAP. Thanks in advance.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-FTP-FTP-poll-is-not-consuming-any-files-from-ftp-server-after-a-specific-error-tp5762463.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to