You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/11/08 10:58:52 UTC

[camel-kamelets] 02/02: Jira Source Kamelet: To use Joda we need to register the JodaModule from Jackson

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

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

commit 0cdfe826695d1f53ba85311679f94435c94380dd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 8 11:58:25 2021 +0100

    Jira Source Kamelet: To use Joda we need to register the JodaModule from Jackson
---
 .../src/main/resources/kamelets/jira-source.kamelet.yaml              | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml
index 6dfa778..54d2cdc 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml
@@ -64,5 +64,7 @@ spec:
         jql: "{{jql}}"
       steps:
       - marshal:
-          json: {}
+          json: 
+            library: Jackson
+            module-class-names: com.fasterxml.jackson.datatype.joda.JodaModule
       - to: "kamelet:sink"