[ 
https://issues.apache.org/jira/browse/CAMEL-8645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henryk Konsek resolved CAMEL-8645.
----------------------------------
    Resolution: Fixed

> Camel Netty component should not intercept consumers with 
> httpMethodRestrict=OPTIONS
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-8645
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8645
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.15.1
>            Reporter: Henryk Konsek
>            Assignee: Henryk Konsek
>             Fix For: 2.15.2, 2.16.0
>
>
> {{HttpServerChannelHandler}} tries to provide default {{OPTIONS}} responses. 
> This is nice feature, but if the {{httpMethodRestrict}} is explicitly set to 
> {{OPTIONS}}, we Netty should allow to override the default responses.
> For example 
> {{from("netty4-http:http://0.0.0.0:8080/foo?httpMethodRestrict=OPTIONS";).setBody().constant("foo!")}}
>  should return the {{foo}} response to the client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to