camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel OnException handling
Date Mon, 12 Dec 2011 12:48:38 GMT
Hi

Glad you found the problem and was able to fix it.
And thanks for posting your solution, so we know there was no problem in Camel.


On Mon, Dec 12, 2011 at 1:30 PM, jackkirsten <jkfriends@hotmail.com> wrote:
> Thanks Claus for a reply.  I apologize for putting this in the wrong forum
> and I've made a note of that for future reference.
>
> I'm using Camel v2.6.  I have found the problem.  I was throwing the
> NullPointerException from the code however the by time it reaches the Camel
> routing it became checked exception so it was going into Exception.class
> block instead of RuntimeException.class block.  After fixing that, it worked
> fine.
>
> Thanks again.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-OnException-handling-tp5066566p5068125.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message