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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.22.1
    • 2.24.0
    • camel-ftp
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: