Hi
I have a very straightforward question..
In my camel config, I am trying to handle exception be returning a static
xml response, indicating that there was an error.
So, in <onException> tag, I just send the message to a <direct> component in
a different route. And for each message in that <direct> component I just
want to return content of a static xml file.
How can I do that ?
<route>
<from uri="direct:invalidCredentialQueue"/>
<to uri="file:templates/invalid-credentials-response.xml"/>
</route>
Thanks for any help.
--
View this message in context:
http://camel.465427.n5.nabble.com/returning-xml-file-content-as-response-tp5717284.html
Sent from the Camel - Users mailing list archive at Nabble.com.