FAQ
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 (2311uttam@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.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupusers @
categoriescamel
postedJan 21, '16 at 12:28p
activeJan 22, '16 at 7:08a
posts2
users2
websitecamel.apache.org

2 users in discussion

Erukala Uttam: 1 post Willem Jiang: 1 post

People

Translate

site design / logo © 2021 Grokbase