public class IterateMediator extends AbstractMediator implements ManagedLifecycle, FlowContinuableMediator
log, trace, traceState
Constructor and Description |
---|
IterateMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
SynapseXPath |
getAttachPath() |
SynapseXPath |
getExpression() |
String |
getId() |
Target |
getTarget() |
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 |
isContinueParent() |
boolean |
isPreservePayload() |
boolean |
mediate(MessageContext synCtx)
Splits the message by iterating over the results of the given XPath expression
|
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 |
setAttachPath(SynapseXPath attachPath) |
void |
setComponentStatisticsId(ArtifactHolder holder) |
void |
setContinueParent(boolean continueParent) |
void |
setExpression(SynapseXPath expression) |
void |
setId(String id) |
void |
setPreservePayload(boolean preservePayload) |
void |
setTarget(Target target) |
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAware, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, setBreakPoint, setCommentsList, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public boolean mediate(MessageContext synCtx)
public boolean mediate(MessageContext synCtx, ContinuationState continuationState)
FlowContinuableMediator
mediate
in interface FlowContinuableMediator
synCtx
- MessageContextcontinuationState
- ContinuationStatepublic boolean isContinueParent()
public void setContinueParent(boolean continueParent)
public boolean isPreservePayload()
public void setPreservePayload(boolean preservePayload)
public SynapseXPath getExpression()
public void setExpression(SynapseXPath expression)
public SynapseXPath getAttachPath()
public void setAttachPath(SynapseXPath attachPath)
public Target getTarget()
public void setTarget(Target target)
public String getId()
public void setId(String id)
public boolean isContentAltering()
Mediator
isContentAltering
in interface Mediator
isContentAltering
in class AbstractMediator
public void init(SynapseEnvironment se)
ManagedLifecycle
init
in interface ManagedLifecycle
se
- SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
public 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–2018 Apache Software Foundation. All rights reserved.