You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Duncan Doyle (JIRA)" <ji...@apache.org> on 2019/04/19 16:52:00 UTC
[jira] [Created] (CAMEL-13438) Camel jBPM WorkItemHandler should
allow passthrough of Exceptions
Duncan Doyle created CAMEL-13438:
------------------------------------
Summary: 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: 3.0.0-M2, 2.23.2
Reporter: Duncan Doyle
Assignee: Maciej Swiderski
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)