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

New FileExist option for File component: TryRename

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.0
    • Fix Version/s: 2.11.1, 2.12.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: