This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch ftps-up in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 2e32791a244917136514266c01595b9b1015a1f2 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Apr 9 16:07:44 2021 +0200 FTP/FTPS and SFTP Source Kamelet: Add an header containing the filename named file and ce-file - FTPS Kamelet --- ftp-source.kamelet.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ftp-source.kamelet.yaml b/ftp-source.kamelet.yaml index 5affce7..99cafcc 100644 --- a/ftp-source.kamelet.yaml +++ b/ftp-source.kamelet.yaml @@ -67,6 +67,12 @@ spec: recursive: "{{recursive}}" idempotent: "{{idempotent}}" steps: + - set-header: + name: file + simple: "${header[CamelFileName]}" + - set-header: + name: ce-file + simple: "${header[CamelFileName]}" - convert-body-to: type: "java.io.InputStream" - to: "kamelet:sink"