This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 1507-3.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit af77ed425f312bd7617b507753510b9e3e23bc28
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Jun 16 12:16:08 2023 +0200

    FTP/SFTP/FTPS Source Kamelets: Add Delete option for FTP
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../src/main/resources/kamelets/ftp-source.kamelet.yaml           | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml
index 8c42242e..769cb1fa 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml
@@ -102,6 +102,13 @@ spec:
         default: true
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+      delete:
+        title: Delete
+        description: If true, the file will be deleted after it is processed 
successfully.
+        type: boolean
+        default: false
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
   dependencies:
     - "camel:ftp"
     - "camel:core"
@@ -116,6 +123,7 @@ spec:
         idempotent: "{{idempotent}}"
         binary: "{{binary}}"
         autoCreate: "{{autoCreate}}"
+        delete: "{{delete}}"
       steps:
       - set-header:
           name: file

Reply via email to