[
https://issues.apache.org/jira/browse/CAMEL-7407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-7407:
----------------------------------
Assignee: Claus Ibsen
> FTP route considers files as in progress after error in poll
> ------------------------------------------------------------
>
> Key: CAMEL-7407
> URL: https://issues.apache.org/jira/browse/CAMEL-7407
> Project: Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 2.13.0
> Reporter: Nordin Haouari
> Assignee: Claus Ibsen
> Fix For: 2.13.2, 2.14.0
>
>
> When an error occurs in the middle of polling (e.g. read timeout on ftp
> server), all files that have been read up to that point are stored in the
> inProgressRepospitory (last line GenericFileConsumer.isValidFile()). Due to
> the error, those files are not passed on to the ftp route, but remain in the
> inProgressRepository. The effect is that those files are never picked up
> unless we clear the inProgressRepository somehow (e.g. by restarting). When
> polling fails, files should not be allowed to remain in the
> inProgressRepository
--
This message was sent by Atlassian JIRA
(v6.2#6252)