set a headerFilterStrategy on the http component and write your own filter to remove the headers you don't want.
Documented here under "HttpEndpointOptions": http://camel.apache.org/http.html On Oct 15, 2013, at 9:59 AM, jmcginn13 <[email protected]> wrote: > As an extra detail, I also have the following route for a different endpoint: > > from("direct:getEquipmentHealthRecords") > .beanRef("equipmentEinService") > > .split().simple("body").parallelProcessing().aggregationStrategyRef("equipmentHealthRecordsAggregationStrategy") > .beanRef("equipmentHealthRecordService") > .beanRef("healthRecordSecurityFilter", > "filterEquipmentHealthRecord(${header.user}, ${body})") > .end(); > > and the headers do not get copied to the response here. I'm guessing the > split/aggregation is losing them which is good for me, but how do can I > consistently make sure my response does not get a copy of my request > headers? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/CXF-rest-service-route-copies-all-request-headers-to-response-tp5741613p5741614.html > Sent from the Camel - Users mailing list archive at Nabble.com.
