[
https://issues.apache.org/jira/browse/CAMEL-8209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang updated CAMEL-8209:
--------------------------------
Summary: added "inputHeader" parameter to use a header value as input to
the component instead of the body (was: added "inputHeader" parameter to use a
header value as)
> 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)