Camel http endpoint doesn't apply the Cache-Control header when routing the 
message out according to [this][1].
If you want to keep the message header of "Cache-Control", you need to apply a 
customer [HttpHeaderFilterStrategy][2].


  [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.5
  [2]: 
https://github.com/apache/camel/blob/cc9924f41965885af25027fc053adaf21f15b5b4/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHeaderFilterStrategy.java

--  
Willem Jiang


Blog: http://willemjiang.blogspot.com (English)  
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On January 21, 2016 at 8:28:50 PM, Erukala Uttam (2311ut...@gmail.com) wrote:
> Look into this :
> http://stackoverflow.com/questions/34923767/allowing-cache-header-to-passthrough-the-http-component-in-camel
>   
>  
> Please,Can some one suggest a way of doing it.
>  

Reply via email to