messageFacade.setJBPMContextParameters(message);
CommandExecutor commandExecutor = CommandExecutor.getInstance();
String commandString = (String)message.getBody().get(Constants.COMMAND_CODE);
Command command = commandExecutor.getCommand(commandString);
command.execute(message);
return message;
}
/**
* Adds the current security context to the passed in message.