You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/04/09 09:31:17 UTC

[camel-kamelets] 01/03: FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet

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 84267120bc565880fe3270987749d5f66582a776
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Apr 8 18:07:36 2021 +0200

    FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet
    
    Related to #121
---
 ftp-source.kamelet.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ftp-source.kamelet.yaml b/ftp-source.kamelet.yaml
index ce8c935..756d33a 100644
--- a/ftp-source.kamelet.yaml
+++ b/ftp-source.kamelet.yaml
@@ -60,7 +60,6 @@ spec:
         password: "{{password}}"
         passiveMode: "{{passiveMode}}"
         recursive: "{{recursive}}"
+        idempotent: "true"
       steps:
-      - convert-body-to:
-          type: "java.lang.String"
       - to: "kamelet:sink"