Thanks for the response. Using enricher seemed lit bit more work for a simple
task. The body of the exchange was XML, so I instead used an xslt to
generate a static content 

<route>
             <from uri="direct:invalidCredentialQueue"/>
             <to
uri="xslt:xslts/invalid-credentials-response-generator.xsl"/>
</route> 

Where the stylesheet just matches the '/' and outputs the desired xml file. 





--
View this message in context: 
http://camel.465427.n5.nabble.com/returning-xml-file-content-as-response-tp5717284p5717560.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to