On Mon, Mar 14, 2011 at 10:54 AM, hyjshanghai <[email protected]> wrote: > Just like handling exception by the "onException" DSL in Camel, I want to > handle any soap fault message returned by cxf endpoints in a single handler. > How can I realize it in Camel? Is there anything like "onSoapFault"? >
There is a handleFault you can set on the camel context or per route that turns SOAP faults into exceptions, which mean the Camel onException etc. can catch the exception and handle those. > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-Register-a-Default-Soap-Fault-Handler-in-Camel-tp3556065p3556065.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
