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 theelement of an XML based Synapse configuration - See Also:
SynapseConfiguration.getMainSequence()
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.mediators.AbstractListMediator
mediators, msgBuildFailureExpattern
-
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
-
-
Constructor Summary
Constructors Constructor Description SynapseMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
mediate(MessageContext synCtx)
Perform the mediation specified by the rule set-
Methods inherited from class org.apache.synapse.mediators.AbstractListMediator
addAll, addChild, addChild, destroy, getChild, getList, init, isContentAware, mediate, removeChild, removeChild, setStatisticIdForMediators
-
Methods inherited from class org.apache.synapse.mediators.AbstractMediator
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAltering, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.synapse.Mediator
getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, reportCloseStatistics, reportOpenStatistics, setComponentStatisticsId, setMediatorPosition, setShortDescription, setTraceState
-
Methods inherited from interface org.apache.synapse.SynapseArtifact
getDescription, setDescription
-
-
-
-
Method Detail
-
mediate
public boolean mediate(MessageContext synCtx)
Perform the mediation specified by the rule set- Specified by:
mediate
in interfaceMediator
- Overrides:
mediate
in classAbstractListMediator
- Parameters:
synCtx
- the message context- Returns:
- as per standard mediate() semantics
-
-