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:35 UTC

[camel-kamelets] 02/02: FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least convert to InputStream - SFTP 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 e535b997a86b7da0eb04c08a5f82bbbf6448835e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Apr 8 18:50:57 2021 +0200

    FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least convert to InputStream - SFTP Kamelet
---
 sftp-source.kamelet.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sftp-source.kamelet.yaml b/sftp-source.kamelet.yaml
index 0f92931..a7d376f 100644
--- a/sftp-source.kamelet.yaml
+++ b/sftp-source.kamelet.yaml
@@ -67,4 +67,6 @@ spec:
         recursive: "{{recursive}}"
         idempotent: "{{idempotent}}"
       steps:
+      - convert-body-to:
+          type: "java.io.InputStream"
       - to: "kamelet:sink"