Issue Type: Task Task
Assignee: David Ward
Components: component-rules
Created: 28/Mar/14 12:11 PM
Description:

Our SwitchYardServiceChannel (a Drools Channel impl) and SwitchYardServiceTaskHandler (a jBPM WorkItemHandler impl) both share the same code (SwitchYardServiceInvoker) to execute SY service references.

It should be noted that both interfaces (Channel and WorkItemHandler) do not allow for checked exceptions.

If an error occurs, they have different behavior. In our WorkItemHandler, we allow configuration to throw the error wrapped in a RuntimeException, or you can abort the work item, complete it anyway, or skip. The default is throw. However, in our Channel, we only ever log the error. We should probably similarly allow for the exception to be wrapped and thrown here too. Thought should be given in changing the default behavior, however, to line up with our WorkItemHandler.

Project: SwitchYard
Priority: Major Major
Reporter: David Ward
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira