public interface Mediator extends SynapseArtifact
It is recommended to extend the abstract class
AbstractMediator or the
AbstractListMediator as appropriate instead of
directly implementing this interface
AbstractMediator| Modifier and Type | Method and Description |
|---|---|
int |
getTraceState()
This is used to check whether the tracing should be enabled on the current mediator or not
|
String |
getType()
This is used for debugging purposes and exposes the type of the current
mediator for logging and debugging purposes
|
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
Invokes the mediator passing the current message for mediation.
|
void |
setTraceState(int traceState)
This is used to set the value of tracing enable variable
|
getDescription, setDescriptionboolean mediate(MessageContext synCtx)
synCtx - the current message for mediationString getType()
int getTraceState()
void setTraceState(int traceState)
traceState - Set whether the tracing is enabled or notboolean isContentAware()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.