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

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

commit 94e59bc73aa886c9bb4f56683e3df383a59b4fa9
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jun 23 12:54:50 2021 +0200

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

diff --git a/aws-kinesis-source.kamelet.yaml b/aws-kinesis-source.kamelet.yaml
index f701fa8..382d303 100644
--- a/aws-kinesis-source.kamelet.yaml
+++ b/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