camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin BONNET (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-7766) Exception in split is not propagated
Date Sun, 31 Aug 2014 20:58:21 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14116886#comment-14116886
] 

Benjamin BONNET edited comment on CAMEL-7766 at 8/31/14 8:58 PM:
-----------------------------------------------------------------

Hi, 
using shareUnitOfWork does not seem to do the trick either : in my unit test, adding shareUnitOfWork,
the exception thrown by the split is not caught neither by the split onException, nor by the
main route onException.
Regards

PS : I added two tests to my unit test, in ordre to combine stopOnException and shareUnitOfWork
options


was (Author: bbonnet):
Hi, 
using shareUnitOfWork does not seem to do the trick either : in my unit test, adding shareUnitOfWork,
the exception thrown by the split is not caught neither by the split onException, nor by the
main route onException.
Regards

> Exception in split is not propagated
> ------------------------------------
>
>                 Key: CAMEL-7766
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7766
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.13.2
>         Environment: JDK7 / W7
>            Reporter: Benjamin BONNET
>
> Exception thrown in a sequential split is not propagated to main route.
> That bug may be a regression linked to commit#78c7350 (CAMEL-5681 fix)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message