[
https://issues.apache.org/jira/browse/CAMEL-8209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8209.
--------------------------------
Resolution: Fixed
> Added "inputHeader" parameter to use a header value as input to the component
> instead of the body
> -------------------------------------------------------------------------------------------------
>
> Key: CAMEL-8209
> URL: https://issues.apache.org/jira/browse/CAMEL-8209
> Project: Camel
> Issue Type: Improvement
> Components: camel-mybatis
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.15.0
>
>
> added "inputHeader" parameter to use a header value as input to the component
> instead of the body
> This way parameters don't need to be set as body before a query. In
> combination with "outputHeader" you can completely retain the body and don't
> even take it as a parameter.
> Ultimately this reduces the boilderplate of "setBody"/"setHeader" statements
> even more.
> Here is the [PR|https://github.com/apache/camel/pull/368] for it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)