camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Configure Jetty to return Date header
Date Sat, 25 Jan 2014 16:37:37 GMT
Hi

You need to use a custom header filter strategy and allow the date
header. Its by default filtered out.

On Fri, Jan 24, 2014 at 8:58 PM, scottdawson <sc.e.dawson@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message