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

New FileExist option for File component: TryRename

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.0
    • 2.11.1, 2.12.0
    • camel-core
    • None
    • Unknown

    Description

      This patch introduces a new FileExist option for File component which works great when using on an FTP producer:
      the producer won't check if the file exists (sometime this is taking a long time) on the destination endpoint and simply rename it after the temporary file has been deployed. Most of FTP server implementation will overwrite the final file in case this already exists.

      Pull request created on GitHub:
      https://github.com/apache/camel/pull/24

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            crive Marco Crivellaro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: