This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch ftp in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit bd593038f1629ed8d27d2247d7c3914ef263a1f5 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Apr 9 16:05:38 2021 +0200 FTP/FTPS and SFTP Source Kamelet: Add an header containing the filename named file and ce-file - FTP 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"