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

camel-netty-http does not respect client's keep-alive setting

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      If we have the camel route which remove the all the header after the netty-http consumer, netty doesn't close the connection even the client send the http header connection as closed.

      <?xml version="1.0" encoding="UTF-8"?>
      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="eager">
        <camelContext xmlns="http://camel.apache.org/schema/blueprint">
          <route>
            <from id="t1" uri="netty-http:http://localhost:9000/test"/>
            <removeHeaders pattern="*"/>
            <setBody>
              <constant>Hello, World!</constant>
            </setBody>
            <to uri="log:XXX?level=ERROR"/>
          </route>
        </camelContext>
      </blueprint>
      

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: