James.Strachan wrote:
>
>
> You can see this DSL in action using a variation of the ValidationTest...
> https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ValidationWithExceptionTest.java
>
> I'll ponder how easy its gonna be to use the DSL to customize
> redelivery policy stuff on a per type basis too...
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
>
For a bean: endpoint the exception handling fails as all pojo exceptions are
converted to InvocationTargetException...
The exception needs to be unwrapped, not sure where's best though;
MethodInfo.invoke()? or maybe ErrorHandlerSupport.getExceptionPolicy()?
-N
--
View this message in context:
http://www.nabble.com/Exception-based-routing-tf4226796s22882.html#a12183747
Sent from the Camel - Users mailing list archive at Nabble.com.