[ https://issues.apache.org/jira/browse/CAMEL-8645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497864#comment-14497864 ]
Henryk Konsek commented on CAMEL-8645: -------------------------------------- Resolved in ca1aaa1b292ac7275853f2f27e6c5f7d5de618ac. Many thanks for @stijnvanbael for the patch! > 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)