[ 
https://issues.apache.org/jira/browse/CAMEL-13438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-13438.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.23.3
                   3.0.0-M3
                   2.24.0
                   3.0.0

> Camel jBPM WorkItemHandler should allow passthrough of Exceptions
> -----------------------------------------------------------------
>
>                 Key: CAMEL-13438
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13438
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbpm
>    Affects Versions: 2.23.2, 3.0.0-M2
>            Reporter: Duncan Doyle
>            Assignee: Maciej Swiderski
>            Priority: Major
>             Fix For: 3.0.0, 2.24.0, 3.0.0-M3, 2.23.3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently, the Camel-JBPM WorkItemHandler wraps every exception coming from a 
> Camel Route into a WorkItemRuntimeException. Although this is a safe way to 
> handle the exceptions, it's also very inflexible, as we can only return a 
> single exception type, and thus only react to a single exception type in our 
> BPMN2 model.
> We should add a "HandleExceptions" WIH parameter to indicate whether any 
> exceptions should be handled by the WorkItemHandler or not. That way, we can 
> make the Camel Routes responsible for handling the exceptions, which gives us 
> much greater flexibility wrt error and exception handling.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to