Parameter inMediationParam
= service.getParameter(HandlerConstants.OUT_SEQUENCE_PARAM_NAME);
if (inMediationParam != null && inMediationParam.getValue() != null) {
if (inMediationParam.getValue() instanceof Mediator) {
Mediator inMessageSequence = (Mediator) inMediationParam.getValue();
return inMessageSequence.mediate(synCtx);
} else if (inMediationParam.getValue() instanceof String) {
Mediator inMessageSequence = synCtx.getConfiguration().getSequence(
(String) inMediationParam.getValue());
return inMessageSequence.mediate(synCtx);
} else {