camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8461) camel-netty-http does not respect client's keep-alive setting
Date Mon, 09 Mar 2015 09:36:38 GMT
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)

Mime
View raw message