[
https://issues.apache.org/jira/browse/CAMEL-9911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259381#comment-15259381
]
John D. Ament commented on CAMEL-9911:
--------------------------------------
I'm assuming you'll take care of merging into 2.18?
I also can't find the source for http://camel.apache.org/rest-dsl.html as I'd
like to update the default binding mode.
> RestBindingMode auto not honored
> --------------------------------
>
> Key: CAMEL-9911
> URL: https://issues.apache.org/jira/browse/CAMEL-9911
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.17.0
> Reporter: John D. Ament
> Assignee: John D. Ament
> Fix For: 2.17.1, 2.18.0
>
>
> The usage of rest binding mode is confusing/doesn't work consistently.
> If you look at the field definition:
> {code}
> @XmlAttribute @Metadata(defaultValue = "auto")
> private RestBindingMode bindingMode;
> {code}
> You would expect that the default value is "auto" but in fact there is no
> default when running.
> You need to explicitly set it in configuration, like this:
> {code}
> restConfiguration()
> .component("jetty")
> .port(9097)
> .bindingMode(RestBindingMode.auto)
> ;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)