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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content