You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2022/01/10 17:01:54 UTC
[camel-kamelets] 02/02: slack source: use Gson as json serialization library instead of Jackson as Slack's model rely on Gson annotations
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit d63cbfb0dbb0bcf5dc3c430f7178e93e280626a9
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Mon Jan 10 17:37:28 2022 +0100
slack source: use Gson as json serialization library instead of Jackson as Slack's model rely on Gson annotations
---
kamelets/slack-source.kamelet.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/kamelets/slack-source.kamelet.yaml b/kamelets/slack-source.kamelet.yaml
index 9a7e2c5..1c86c56 100644
--- a/kamelets/slack-source.kamelet.yaml
+++ b/kamelets/slack-source.kamelet.yaml
@@ -59,7 +59,7 @@ spec:
out:
mediaType: application/json
dependencies:
- - "camel:jackson"
+ - "camel:gson"
- "camel:slack"
- "camel:kamelet"
flow:
@@ -70,5 +70,6 @@ spec:
delay: "{{?delay}}"
steps:
- marshal:
- json: {}
+ json:
+ library: "Gson"
- to: "kamelet:sink"