Can you try to specify your own HttpHeaderFilterStrategy on the endpoint?

The default one will filter out date.

HTH



On 28 January 2014 13:45, scottdawson <[email protected]> wrote:

> Hello,
> By default, Jetty endpoints do not return an HTTP Date header in response
> messages. Does anyone know what configuration change to make so that Date
> headers are automatically returned? My endpoints are 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/app"/>
> ...
>
> I tried adding the line shown below to the ServiceMix etc/jetty.xml file
> but
> it doesn't make a difference.
> <Set name="sendDateHeader">true</Set>
>
> Thanks,
> Scott
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/HTTP-Date-headers-for-Jetty-endpoints-tp5718803.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 
Bilgin Ibryam

Apache Camel & Apache OFBiz committer
Blog: ofbizian.com
Twitter: @bibryam <https://twitter.com/bibryam>

Author of Instant Apache Camel Message Routing
http://www.amazon.com/dp/1783283475

Reply via email to