return getCompositeUtil().executeSseCommand(subject, command, parameters, new SseCommandHelper.ActionReportProcessor() {
@Override
public ActionReport process(ActionReport report, EventChannel ec) {
if (report != null) {
ActionReport.ExitCode exitCode = report.getActionExitCode();
ResponseBody rb = Util.responseBody()
.add(Message.Severity.valueOf(exitCode.name()), report.getMessage());
if (exitCode.equals(ActionReport.ExitCode.SUCCESS)) {
rb.setEntity(builder.get(report));
}
OutboundEvent outEvent = new OutboundEvent.Builder()
.name(Status.CREATED.name())
.mediaType(MediaType.APPLICATION_JSON_TYPE)