You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jorick Flabat (Jira)" <ji...@apache.org> on 2020/05/27 12:18:00 UTC

[jira] [Created] (CAMEL-15120) camel-jslt - Use headers as variables in the jslt component

Jorick Flabat created CAMEL-15120:
-------------------------------------

             Summary: camel-jslt - Use headers as variables in the jslt component
                 Key: CAMEL-15120
                 URL: https://issues.apache.org/jira/browse/CAMEL-15120
             Project: Camel
          Issue Type: Improvement
            Reporter: Jorick Flabat


The jslt library allows to pass external variables when applying a jslt to an input json. This issue is implemented by using the headers of the message as external variables. The header values are converted using the jackson library to a JsonNode. The attached PR provides the unit tests and the code that implements this new functionality.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)