camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scottdawson <sc.e.daw...@gmail.com>
Subject Configure Jetty to return Date header
Date Fri, 24 Jan 2014 19:58:43 GMT
How can I configure a Jetty endpoint to return the HTTP Date header in
response messages? The endpoint is deployed in ServiceMix 5.x and configured
like this:
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
      <route>
        <from uri="jetty:http://0.0.0.0:8183/porttest"/>
...

I've added the line shown below to the ServiceMix etc/jetty.xml file. This
causes the ServiceMix console to return the Date header but has no effect on
my camel-jetty endpoints.
<Set name="sendDateHeader">true</Set>

Thanks,
Scott





--
View this message in context: http://camel.465427.n5.nabble.com/Configure-Jetty-to-return-Date-header-tp5746461.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message