From 68cd6218cb38503bcc366c8733954e44240da1c7 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 15 Jun 2021 13:37:48 +0200 Subject: [PATCH] AWS S3 Source Kamelet: Added includeBody option --- .../main/resources/kamelets/aws-s3-source.kamelet.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-source.kamelet.yaml index 781bc6cb6..a7717d2c9 100644 --- a/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-source.kamelet.yaml +++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-source.kamelet.yaml @@ -59,6 +59,13 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false + includeBody: + title: Include Body + description: If it is true, the exchange will be consumed and put into the body and closed. If false the S3Object stream will be put raw into the body and the headers will be set with the S3 object metadata. + type: boolean + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' + default: true dependencies: - "camel:aws2-s3" - "camel:kamelet" @@ -70,6 +77,7 @@ spec: secretKey: "{{secretKey}}" accessKey: "{{accessKey}}" region: "{{region}}" + includeBody: "{{includeBody}}" deleteAfterRead: "{{deleteAfterRead}}" steps: - to: "kamelet:sink"