This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch aws-kinesis-source-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 666a1c9f3b17d3929267b5bb05742ab0b87d5db5
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jun 23 12:57:19 2021 +0200

    AWS Kinesis Source Kamelet: Marshal to Json the result
---
 .../src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
 
b/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
index f701fa8..382d303 100644
--- 
a/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
+++ 
b/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
@@ -47,7 +47,6 @@ spec:
         example: eu-west-1
   dependencies:
     - "camel:aws2-kinesis"
-    - "camel:core"
     - "camel:kamelet"
   flow:
     from:
@@ -57,6 +56,7 @@ spec:
         accessKey: "{{accessKey}}"
         region: "{{region}}"
       steps:
-      - set-body:
-          simple: ${body.data.asUtf8String}
+      - marshal:
+          json: 
+            library: Gson
       - to: "kamelet:sink"

Reply via email to