camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nordin Haouari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7407) FTP route considers files as in progress after error in poll
Date Fri, 02 May 2014 10:01:21 GMT
Nordin Haouari created CAMEL-7407:
-------------------------------------

             Summary: 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


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)

Mime
View raw message