| org.apache.synapse.Mediator
All known Subclasses: org.apache.synapse.mediators.AbstractMediator,
Mediator | public interface Mediator (Code) | | All Synapse mediators must implement this Mediator interface. As a message passes
through the Synapse system, each mediator's mediate() method is invoked in the
sequence/order defined in the SynapseConfiguration.
|
getTraceState | public int getTraceState()(Code) | | This is used to check whether the tracing should be enabled on the current mediator or not
value that indicate whether tracing is on, off or unset |
getType | public String getType()(Code) | | This is used for debugging purposes and exposes the type of the current
mediator for logging and debugging purposes
a String representation of the mediator type |
mediate | public boolean mediate(MessageContext synCtx)(Code) | | Invokes the mediator passing the current message for mediation. Each
mediator performs its mediation action, and returns true if mediation
should continue, or false if further mediation should be aborted.
Parameters: synCtx - the current message for mediation true if further mediation should continue |
setTraceState | public void setTraceState(int traceState)(Code) | | This is used to set the value of tracing enable variable
Parameters: traceState - Set whether the tracing is enabled or not |
|
|