[
https://issues.apache.org/jira/browse/CAMEL-11115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart resolved CAMEL-11115.
-----------------------------------
Resolution: Done
Fix Version/s: 2.19.0
Done without any magic, i.e. not setting the binding mode to {{auto}} if
{{inType}} or {{outType}} is set, user needs to set binding mode explicitly on
the endpoint or on the {{RestConfiguration}}.
> Enhance binding support in RestComponent
> ----------------------------------------
>
> Key: CAMEL-11115
> URL: https://issues.apache.org/jira/browse/CAMEL-11115
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Fix For: 2.19.0
>
>
> The REST component has binding support could use bit more flexibility:
> - bindingMode should be exposed on component/endpoint, currently it's only
> configurable through RestConfiguration
> - bindingMode could be set to {{auto}} if not set and {{inType}} or
> {{outType}} is present
> - {{RestProducerBindingProcessor.type}} ({{inType}} from {{RestEndpoint}})
> is not used to marshal body of the request, it probably should be removed?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)