]
Kurt Stam closed JBESB-1272.
----------------------------
Resolution: Done
Done
CommandInterpreter.doTheJob does not make sense in error condition
------------------------------------------------------------------
Key: JBESB-1272
URL:
http://jira.jboss.com/jira/browse/JBESB-1272
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Process flow
Affects Versions: 4.2
Reporter: Mark Little
Assigned To: Kurt Stam
Fix For: 4.2.1 CP1
Message response = Helper.commandMessageTemplate();
Body body = response.getBody();
try
{
Object obj = getJbpmCommandService().execute(command);
body.add(Constants.RETURN_CODE, Constants.RETCODE_OK);
if (null!=obj)
body.add(Constants.JBPM_RETURN_OBJECT, obj);
}
catch (JbpmException e)
{
body.add(Constants.RETURN_CODE, Constants.RETCODE_EXCEPTION);
body.add(Constants.EXCEPTION, e);
throw e;
}
return response;
Why does the catch clause modify the body when the message isn't going to be
returned?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: