public class InvokeMediator extends AbstractMediator implements ManagedLifecycle, FlowContinuableMediator
log, trace, traceState| Constructor and Description |
|---|
InvokeMediator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpressionForParamName(String pName,
Value expr) |
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
Value |
getKey() |
String |
getPackageName() |
Map<String,Value> |
getpName2ExpressionMap() |
String |
getTargetTemplate() |
void |
init(SynapseEnvironment se)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
isDynamicMediator() |
boolean |
mediate(MessageContext synCtx)
Invokes the mediator passing the current message for mediation.
|
boolean |
mediate(MessageContext synCtx,
ContinuationState continuationState)
Mediate the message using a ContinuationState.
|
void |
setComponentStatisticsId(ArtifactHolder holder) |
void |
setDynamicMediator(boolean dynamicMediator) |
void |
setKey(Value key) |
void |
setPackageName(String packageName) |
void |
setTargetTemplate(String targetTemplate) |
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, isContentAware, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPointpublic boolean mediate(MessageContext synCtx)
Mediatorpublic boolean mediate(MessageContext synCtx, ContinuationState continuationState)
FlowContinuableMediatormediate in interface FlowContinuableMediatorsynCtx - MessageContextcontinuationState - ContinuationStatepublic String getTargetTemplate()
public void setTargetTemplate(String targetTemplate)
public boolean isDynamicMediator()
public void setDynamicMediator(boolean dynamicMediator)
public Value getKey()
public void setKey(Value key)
public String getPackageName()
public void setPackageName(String packageName)
public void init(SynapseEnvironment se)
ManagedLifecycleinit in interface ManagedLifecyclese - SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycledestroy in interface ManagedLifecyclepublic void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId in interface MediatorsetComponentStatisticsId in class AbstractMediatorCopyright © 2005–2019 Apache Software Foundation. All rights reserved.