The camel route might look something like follows
<camel:route id="toreal">
<camel:from uri="cxf:bean:myProxy" />
<camel:to uri="bean:myProcessorr" />
<to uri="xslt:path/to/xslt/file.xsl"/>
<camel:to uri="cxf:bean:realService" />
</camel:route>
But make sure your bean:myProcessor returns the body as a XML and not POJO.
Thats needed for the XSLT.
I am not very sure if xslt can take up pojo. Otherwise adding a jaxb
component to convert pojo into xml representation would do the job.
If using jaxb, route might look like this
<camel:route id="toreal">
<camel:from uri="cxf:bean:myProxy" />
<camel:to uri="bean:myProcessorr" />
<marshal>
<jaxb prettyPrint="true"
contextPath="package.of.the.class"/>
</marshal>
<to uri="xslt:path/to/xslt/file.xsl"/>
<camel:to uri="cxf:bean:realService" />
</camel:route>
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-CXF-Proxy-with-WS-Security-tp5749223p5749228.html
Sent from the Camel - Users mailing list archive at Nabble.com.