This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 6942b007187d1f8fb5b28c84a4cb2141dd2a50ce Author: Andrea Cosentino <[email protected]> AuthorDate: Thu Apr 8 18:12:21 2021 +0200 FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least convert to inputStream - FTP Kamelet --- ftp-source.kamelet.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ftp-source.kamelet.yaml b/ftp-source.kamelet.yaml index 756d33a..169e42c 100644 --- a/ftp-source.kamelet.yaml +++ b/ftp-source.kamelet.yaml @@ -53,6 +53,11 @@ spec: description: If a directory, will look for files in all the sub-directories as well. type: boolean default: false + idempotent: + title: Idempotency + description: Skip already processed files. + type: boolean + default: true flow: from: uri: "ftp:{{username}}@{{host}}:{{port}}/{{directoryName}}" @@ -60,6 +65,6 @@ spec: password: "{{password}}" passiveMode: "{{passiveMode}}" recursive: "{{recursive}}" - idempotent: "true" + idempotent: "{{idempotent}}" steps: - to: "kamelet:sink"
