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 <[email protected]> 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: [email protected] 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
