public class InMediator extends AbstractListMediator implements FilterMediator, FlowContinuableMediator
MessageContext.isResponse()
mediators
log, trace, traceState
Constructor and Description |
---|
InMediator() |
Modifier and Type | Method and Description |
---|---|
void |
init(SynapseEnvironment se)
Initialize child mediators recursively
|
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
Executes the list of sub/child mediators, if the filter condition is satisfied
|
boolean |
mediate(MessageContext synCtx,
ContinuationState continuationState)
Mediate the message using a ContinuationState.
|
Integer |
reportOpenStatistics(MessageContext messageContext,
boolean isContentAltering)
Report Open Statistic Event for the Mediator
|
void |
setComponentStatisticsId(ArtifactHolder holder) |
boolean |
test(MessageContext synCtx)
Apply mediation only on request messages
|
addAll, addChild, destroy, getChild, getList, mediate, removeChild, removeChild, setStatisticIdForMediators
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, setBreakPoint, setCommentsList, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAll, addChild, getChild, getList, removeChild, removeChild
getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, reportCloseStatistics, setMediatorPosition, setShortDescription, setTraceState
getDescription, setDescription
destroy
public boolean mediate(MessageContext synCtx)
mediate
in interface Mediator
mediate
in class AbstractListMediator
synCtx
- the current messagepublic boolean mediate(MessageContext synCtx, ContinuationState continuationState)
FlowContinuableMediator
mediate
in interface FlowContinuableMediator
synCtx
- MessageContextcontinuationState
- ContinuationStatepublic boolean test(MessageContext synCtx)
test
in interface FilterMediator
synCtx
- the message contextpublic boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractListMediator
public void init(SynapseEnvironment se)
AbstractListMediator
init
in interface ManagedLifecycle
init
in class AbstractListMediator
se
- synapse environmentpublic Integer reportOpenStatistics(MessageContext messageContext, boolean isContentAltering)
Mediator
reportOpenStatistics
in interface Mediator
reportOpenStatistics
in class AbstractMediator
public void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId
in interface Mediator
setComponentStatisticsId
in class AbstractMediator
Copyright © 2005–2017 Apache Software Foundation. All rights reserved.