Tuomas Palenius created CAMEL-19655:
---------------------------------------

             Summary: Allow marshal / unmarshal for the header
                 Key: CAMEL-19655
                 URL: https://issues.apache.org/jira/browse/CAMEL-19655
             Project: Camel
          Issue Type: Wish
            Reporter: Tuomas Palenius


 
It would be nice to be able to marshal / unmarshal data from the headers 
instead of body.

Below is a suggestion how it could work (yaml-dsl):
{code:java}
- marshal:
    header: myheader
    json:
      library: jackson{code}
The "header" would be the source for the data to be transformed and also target 
for the result.

What do you think?
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to