Class SynapseMediator

  extended by org.apache.synapse.mediators.AbstractMediator
      extended by org.apache.synapse.mediators.AbstractListMediator
          extended by 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:

Field Summary
Fields inherited from class org.apache.synapse.mediators.AbstractListMediator
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
Constructor Summary
Method Summary
 boolean mediate(MessageContext synCtx)
          Perform the mediation specified by the rule set
Methods inherited from class org.apache.synapse.mediators.AbstractListMediator
addAll, addChild, destroy, getChild, getList, init, removeChild, removeChild
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
Methods inherited from interface org.apache.synapse.Mediator
getTraceState, getType, setTraceState
Methods inherited from interface org.apache.synapse.SynapseArtifact
getDescription, setDescription

Constructor Detail


public SynapseMediator()
Method Detail


public boolean mediate(MessageContext synCtx)
Perform the mediation specified by the rule set

Specified by:
mediate in interface Mediator
mediate in class AbstractListMediator
synCtx - the message context
as per standard mediate() semantics

Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.