Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8645

Camel Netty component should not intercept consumers with httpMethodRestrict=OPTIONS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.1
    • 2.15.2, 2.16.0
    • None
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            hekonsek Henryk Konsek
            hekonsek Henryk Konsek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: