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.
|
SynapsePath |
getAttachPath() |
SynapsePath |
getExpression() |
java.lang.String |
getId() |
Target |
getTarget() |
void |
init(SynapseEnvironment se)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
isAttachPathPresent() |
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 Path expression
|
boolean |
mediate(MessageContext synCtx,
ContinuationState continuationState)
Mediate the message using a ContinuationState.
|
java.lang.Integer |
reportOpenStatistics(MessageContext messageContext,
boolean isContentAltering)
Report Open Statistic Event for the Mediator
|
void |
setAttachPath(SynapsePath attachPath) |
void |
setAttachPathPresent(boolean attachPathPresent) |
void |
setComponentStatisticsId(ArtifactHolder holder) |
void |
setContinueParent(boolean continueParent) |
void |
setExpression(SynapsePath expression) |
void |
setId(java.lang.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 SynapsePath getExpression()
public void setExpression(SynapsePath expression)
public SynapsePath getAttachPath()
public void setAttachPath(SynapsePath attachPath)
public Target getTarget()
public void setTarget(Target target)
public java.lang.String getId()
public void setId(java.lang.String id)
public boolean isContentAltering()
Mediator
isContentAltering
in interface Mediator
isContentAltering
in class AbstractMediator
public boolean isAttachPathPresent()
public void setAttachPathPresent(boolean attachPathPresent)
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 java.lang.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-2020 Apache Software Foundation. All Rights Reserved.