Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7407

FTP route considers files as in progress after error in poll

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.0
    • 2.12.4, 2.13.2, 2.14.0
    • camel-ftp
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            nordinh Nordin Haouari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: