You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2015/04/16 12:00:59 UTC

[jira] [Created] (CAMEL-8645) Camel Netty component should not intercept consumers with httpMethodRestrict=OPTIONS

Henryk Konsek created CAMEL-8645:
------------------------------------

             Summary: 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:{{port}}/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)