org.apache.synapse.mediators.base
Class SynapseMediator
java.lang.Object
org.apache.synapse.mediators.AbstractMediator
org.apache.synapse.mediators.AbstractListMediator
org.apache.synapse.mediators.base.SynapseMediator
- All Implemented Interfaces:
- AspectConfigurable, ManagedLifecycle, Mediator, ListMediator, SynapseArtifact
public class SynapseMediator
- extends AbstractListMediator
The SynapseMediator is the "mainmediator" of the synapse engine. It is
given each message on arrival at the Synapse engine. The Synapse configuration
holds a reference to this special mediator instance. The SynapseMediator
holds the list of mediators supplied within the element of an XML
based Synapse configuration
- See Also:
SynapseConfiguration.getMainSequence()
Methods inherited from class org.apache.synapse.mediators.AbstractMediator |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynapseMediator
public SynapseMediator()
mediate
public boolean mediate(MessageContext synCtx)
- Perform the mediation specified by the rule set
- Specified by:
mediate
in interface Mediator
- Overrides:
mediate
in class AbstractListMediator
- Parameters:
synCtx
- the message context
- Returns:
- as per standard mediate() semantics
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.