Re: Camel-restlet:setting Cache-Control metadata

2013-02-16 Thread Willem jiang
Hi, Please use the user@ mailing list instead of use dev@ to ask this kind of question. I just checked the code of camel-restlet, it is a litter more complicate than just setup the Cache-Control header[1]. RestLet message provides the setCacheDirectives() method to do this kind of work. I jus

Camel-restlet:setting Cache-Control metadata

2013-02-14 Thread apatel
We try to set the Cache-Control metadata in restlet route as below. But It did not set Cache-Control on response. Also when i look at the code The Restlet component Representation class does not have set Cache-Control method. Please help me to resolve this issue. http://camel.apache.org/schema/