You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Viral Gohel (JIRA)" <ji...@apache.org> on 2018/09/07 05:35:00 UTC
[jira] [Assigned] (CAMEL-12785) ServletComponent ignores
httpBinding option
[ https://issues.apache.org/jira/browse/CAMEL-12785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viral Gohel reassigned CAMEL-12785:
-----------------------------------
Assignee: Viral Gohel
> ServletComponent ignores httpBinding option
> -------------------------------------------
>
> Key: CAMEL-12785
> URL: https://issues.apache.org/jira/browse/CAMEL-12785
> Project: Camel
> Issue Type: Bug
> Components: camel-servlet
> Affects Versions: 2.18.3
> Reporter: Paul McCulloch
> Assignee: Viral Gohel
> Priority: Major
>
> ServletComponent.doCreateConsumer() seems to consider the 'httpBindingRef' option when deciding whether or not to create a default HttpBinding. However this option was removed in 2.17 (https://github.com/apache/camel/commit/df701cc3776833c98a3e2b53f86dfd8f01eabe4b )
> {{<restConfiguration component="servlet" enableCORS="true">}}
> {{ <endpointProperty key="servletName" value="MyCamelServlet"/>}}
> {{ <endpointProperty key="httpBinding" value="#MyHttpBinding"/>}}
> {{</restConfiguration>}}
> Doesn't use the custom binding. Providing a value for httpBindingRef causes the endpoint creation to fail (due to unknown parameters being included in the servlet:// URI.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)