You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/19 17:08:00 UTC

[jira] [Work logged] (CAMEL-13438) Camel jBPM WorkItemHandler should allow passthrough of Exceptions

     [ https://issues.apache.org/jira/browse/CAMEL-13438?focusedWorklogId=230183&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-230183 ]

ASF GitHub Bot logged work on CAMEL-13438:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Apr/19 17:07
            Start Date: 19/Apr/19 17:07
    Worklog Time Spent: 10m 
      Work Description: DuncanDoyle commented on pull request #2875: Fixes CAMEL-13438: Added option to disable WIH exception handling, pa…
URL: https://github.com/apache/camel/pull/2875
 
 
   …ssing through any exceptions throw by the Camel Route.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 230183)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>          Time Spent: 10m
>  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)