Lakshma created CAMEL-8318:
------------------------------
Summary: Camel FTP - FTP poll is not consuming any files from ftp
server
Key: CAMEL-8318
URL: https://issues.apache.org/jira/browse/CAMEL-8318
Project: Camel
Issue Type: Bug
Components: camel-ftp
Reporter: Lakshma
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 we 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)