You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/03/09 10:36:38 UTC

[jira] [Created] (CAMEL-8461) camel-netty-http does not respect client's keep-alive setting

Willem Jiang created CAMEL-8461:
-----------------------------------

             Summary: camel-netty-http does not respect client's keep-alive setting
                 Key: CAMEL-8461
                 URL: https://issues.apache.org/jira/browse/CAMEL-8461
             Project: Camel
          Issue Type: Bug
          Components: camel-netty-http, camel-netty4-http
    Affects Versions: 2.14.2, 2.15.0
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.14.3, 2.15.1


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.
{code}
<?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>
{code}




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