Hi Marc, After digging the code for a while , I find the camel-cxf of the camel-1.x branch doesn't copy the protocol headers into the camel message header, so you can't get the content-type from the camel-cxf consumer. Here is the JIRA[1] which traces for this issue.
I will commit the quick fix for it in a min, and hope it can catch on the train of Camel 1.6.1. [1]https://issues.apache.org/activemq/browse/CAMEL-1586 Willem Willem Jiang wrote: > Hi Marc, > > It maybe a bug of camel-cxf component, I will look it tommorrow. > Please feel free to fill a JIRA[1] for it. > > [1] https://issues.apache.org/activemq/browse/CAMEL > > Willem >
