You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Manish K Bafna <Ma...@headstrong.com> on 2009/02/04 13:51:11 UTC

Sometimes exceptions are not getting handled

Hi,
I have added onException clause in the route. But sometimes it is not getting called. Can't identify the exact scenario in which this block is not getting executed. Any hints or issues around it.

Thanks,
Manish.


 
***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.***

Re: Sometimes exceptions are not getting handled

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Feb 4, 2009 at 1:51 PM, Manish K Bafna
<Ma...@headstrong.com> wrote:
> Hi,
> I have added onException clause in the route. But sometimes it is not getting called. Can't identify the exact scenario in which this block is not getting executed. Any hints or issues around it.
>
> Thanks,
> Manish.
Hi

In Camel 1.6 the onException strategy for picking up how and when to
handle an exception has been much improved.
It doesnt really look down the exception tree to find caused by's so
that could affect.

What is you route? Which onException have you defined?



>
>
>
> ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.***
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/