public class ClassMediator extends AbstractMediator implements ManagedLifecycle
Mediator
log, trace, traceState
Constructor and Description |
---|
ClassMediator() |
Modifier and Type | Method and Description |
---|---|
void |
addAllProperties(List<MediatorProperty> propertyList) |
void |
addProperty(MediatorProperty property) |
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
Mediator |
getMediator() |
List<MediatorProperty> |
getProperties() |
void |
init(SynapseEnvironment se)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
isContentAltering()
This is used to indicate whether message payload get modified during mediation
|
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
Don't use a new instance...
|
void |
setMediator(Mediator mediator) |
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public boolean mediate(MessageContext synCtx)
public void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
public void init(SynapseEnvironment se)
ManagedLifecycle
init
in interface ManagedLifecycle
se
- SynapseEnvironment to be used for initializationpublic void setMediator(Mediator mediator)
public Mediator getMediator()
public void addProperty(MediatorProperty property)
public void addAllProperties(List<MediatorProperty> propertyList)
public List<MediatorProperty> getProperties()
public boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractMediator
public boolean isContentAltering()
Mediator
isContentAltering
in interface Mediator
isContentAltering
in class AbstractMediator
Copyright © 2005–2020 Apache Software Foundation. All rights reserved.