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

FTP endpoint with 'localWorkDirectory' considers File Consumer's 'noop' option

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 2.22.1
    • Fix Version/s: 2.24.0
    • Component/s: camel-ftp
    • Labels:
    • Estimated Complexity:
      Unknown

      Description

      https://camel.apache.org/ftp2.html reads:

      See File for more options as all the options from File is inherited.

       and in Using Local Work Directory:

      And finally, when the Exchange is complete the local file is deleted.

       https://camel.apache.org/file2.html reads:

      noop false If true, the file is not moved or deleted in any way.

      I have a use case where I'd need the file transferred to localWorkDirectory to stay there. Otherwise I have to change localWorkDirectory to something else and add a Producer endpoint to my route which copies the file to the intended directory (i.e. the former localWorkDirectory), which is inconvenient with GiB-size files.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              Broser Gerold Broser
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: