Agreed:  one thing though… there are two exceptions at that point.  The 
original exception and the exception from the exception handler.   I would say 
both exceptions should be logged.   The original exception is obviously 
important, but the other exception is likely needed to diagnose why the 
exception handler is failing.

Dan


> On May 5, 2017, at 4:51 AM, Zoran Regvart <zo...@regvart.com> wrote:
> 
> Hi Christian,
> 
> On Fri, May 5, 2017 at 9:37 AM, Christian Schneider
> <ch...@die-schneider.net> wrote:
>> So the best recommendation is to not use a global onException handler?
> 
> I think we should handle exceptions from exception handler
> differently, I think we could add a flag on the exchange not to invoke
> the exception handler the second time and perform default exception
> handling (i.e. log the exception),
> 
> zoran
> -- 
> Zoran Regvart

-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to