CXF Schema violations - pushing SOAP message to Dead Letter Queue

Solution In Progress - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.