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:51 UTC

[camel-kamelets] 01/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 8aab2ec1b8a973cd3d855f6c820b432e6ae68f3f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 8 11:58:08 2021 +0100

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

diff --git a/jira-source.kamelet.yaml b/jira-source.kamelet.yaml
index 6dfa778..54d2cdc 100644
--- a/jira-source.kamelet.yaml
+++ b/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"