Follow route use a default-error-handler for the route, and also defined a custom exception handle logic using try-catch-pattern.
But if the "myProcessRaiseError" raised exception the catch-clause cannot be invoked; Why? Is it camel's bug? <route> <from uri="ws:... "/> <bean ...> <doTry> <filter> <simple>${body} == 'firstChoice'</simple> <bean ref="myProcess" /> <bean ref="myProcessRaiseError"/> </filter> <doCatch> ..some error handler... </doCatch> </doTry> <process ...> </route>