public boolean mediate(MessageContext synCtx) {
if (log.isDebugEnabled()) {
log.debug("Mediation for Event Publisher started");
}
SynapseEventSource eventSource = synCtx.getConfiguration().getEventSource(eventSourceName);
eventSource.dispatchEvents(synCtx);
return true;
}
public String getEventSourceName() {
return eventSourceName;