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
The following commit(s) were added to refs/heads/master by this push: new f276c44 FTP/FTPS and SFTP Source Kamelet: Add an header containing the filename named file and ce-file - SFTP Kamelet f276c44 is described below commit f276c447a56c928f617ce2be2ab93117aebdc05b Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Apr 9 16:09:43 2021 +0200 FTP/FTPS and SFTP Source Kamelet: Add an header containing the filename named file and ce-file - SFTP Kamelet --- ftps-source.kamelet.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ftps-source.kamelet.yaml b/ftps-source.kamelet.yaml index 38d566d..a819d10 100644 --- a/ftps-source.kamelet.yaml +++ b/ftps-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"