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() |
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.
|
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(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, unregisterMediationFlowPointpublic boolean mediate(MessageContext synCtx)
public boolean mediate(MessageContext synCtx, ContinuationState continuationState)
FlowContinuableMediatormediate in interface FlowContinuableMediatorsynCtx - 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 String getId()
public void setId(String id)
public boolean isContentAltering()
MediatorisContentAltering in interface MediatorisContentAltering in class AbstractMediatorpublic boolean isAttachPathPresent()
public void setAttachPathPresent(boolean attachPathPresent)
public void init(SynapseEnvironment se)
ManagedLifecycleinit in interface ManagedLifecyclese - SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycledestroy in interface ManagedLifecyclepublic Integer reportOpenStatistics(MessageContext messageContext, boolean isContentAltering)
MediatorreportOpenStatistics in interface MediatorreportOpenStatistics in class AbstractMediatorpublic void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId in interface MediatorsetComponentStatisticsId in class AbstractMediatorCopyright © 2005–2019 Apache Software Foundation. All rights reserved.