Doesn't from("....").handleFault() work either? björn
On Thu, May 12, 2011 at 10:46 AM, Jens <smix...@dzbank.de> wrote: >> Jens, I think you can use this interceptor to convert faults to >> exceptions...see >> https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/FaultRouteTest.java >> this unit test >> >> basically, just add this to your context... >> >> getContext().addInterceptStrategy(new HandleFault()); > > Thanks for that. Unfortunately that doesn't seem to help much. In fact, I > don't see the interceptor firing at all. Is there anything else that needs > to be done to enable an InterceptorStrategy? > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Does-onException-not-support-multiple-statements-tp4381958p4389656.html > Sent from the Camel - Users mailing list archive at Nabble.com. >