CXF Schema violations - pushing SOAP message to Dead Letter Queue
Issue
I am looking for the solution when the incoming SOAP request does not confirm to the XML schema XSD files. This throws the exception, which is correct behaviour. But, I want to catch this exception in Camel Route and then log it to the Dead Letter Queue.
The tag <entry key="schema-validation-enabled" value="true"/> is already enabled for <camelcxf:cxfEndpoint>
Environment
- JBoss Fuse
- 6.1
- 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.