public class ThrottleMediator
extends org.apache.synapse.mediators.AbstractMediator
implements org.apache.synapse.ManagedLifecycle, org.apache.synapse.mediators.FlowContinuableMediator, org.apache.synapse.debug.constructs.EnclosedInlinedSequence
Constructor and Description |
---|
ThrottleMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
java.lang.String |
getId() |
org.apache.axiom.om.OMElement |
getInLinePolicy()
getting throttle policy which has defined as InLineXML
|
org.apache.synapse.Mediator |
getInlineSequence(org.apache.synapse.config.SynapseConfiguration synCfg,
int inlinedSeqIdentifier) |
org.apache.synapse.Mediator |
getOnAcceptMediator() |
java.lang.String |
getOnAcceptSeqKey() |
org.apache.synapse.Mediator |
getOnRejectMediator() |
java.lang.String |
getOnRejectSeqKey() |
java.lang.String |
getPolicyKey()
To get the policy key - The key for which will used to lookup policy from the registry
|
void |
init(org.apache.synapse.core.SynapseEnvironment se) |
boolean |
isContentAware() |
boolean |
mediate(org.apache.synapse.MessageContext synCtx) |
boolean |
mediate(org.apache.synapse.MessageContext synCtx,
org.apache.synapse.ContinuationState continuationState) |
void |
setComponentStatisticsId(org.apache.synapse.aspects.flow.statistics.data.artifact.ArtifactHolder holder) |
void |
setId(java.lang.String id) |
void |
setInLinePolicy(org.apache.axiom.om.OMElement inLinePolicy)
setting throttle policy which has defined as InLineXML
|
void |
setOnAcceptMediator(org.apache.synapse.Mediator onAcceptMediator) |
void |
setOnAcceptSeqKey(java.lang.String onAcceptSeqKey) |
void |
setOnRejectMediator(org.apache.synapse.Mediator onRejectMediator) |
void |
setOnRejectSeqKey(java.lang.String onRejectSeqKey) |
void |
setPolicyKey(java.lang.String policyKey)
To set the policy key - The key for which lookup from the registry
|
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, reportOpenStatistics, setBreakPoint, setCommentsList, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public boolean mediate(org.apache.synapse.MessageContext synCtx)
mediate
in interface org.apache.synapse.Mediator
public boolean mediate(org.apache.synapse.MessageContext synCtx, org.apache.synapse.ContinuationState continuationState)
mediate
in interface org.apache.synapse.mediators.FlowContinuableMediator
public void init(org.apache.synapse.core.SynapseEnvironment se)
init
in interface org.apache.synapse.ManagedLifecycle
public void destroy()
destroy
in interface org.apache.synapse.ManagedLifecycle
public java.lang.String getPolicyKey()
public void setPolicyKey(java.lang.String policyKey)
policyKey
- Value for picking policy from the registrypublic org.apache.axiom.om.OMElement getInLinePolicy()
public void setInLinePolicy(org.apache.axiom.om.OMElement inLinePolicy)
inLinePolicy
- Inline policypublic java.lang.String getOnRejectSeqKey()
public void setOnRejectSeqKey(java.lang.String onRejectSeqKey)
public org.apache.synapse.Mediator getOnRejectMediator()
public void setOnRejectMediator(org.apache.synapse.Mediator onRejectMediator)
public java.lang.String getOnAcceptSeqKey()
public void setOnAcceptSeqKey(java.lang.String onAcceptSeqKey)
public org.apache.synapse.Mediator getOnAcceptMediator()
public void setOnAcceptMediator(org.apache.synapse.Mediator onAcceptMediator)
public java.lang.String getId()
public void setId(java.lang.String id)
public boolean isContentAware()
isContentAware
in interface org.apache.synapse.Mediator
isContentAware
in class org.apache.synapse.mediators.AbstractMediator
public org.apache.synapse.Mediator getInlineSequence(org.apache.synapse.config.SynapseConfiguration synCfg, int inlinedSeqIdentifier)
getInlineSequence
in interface org.apache.synapse.debug.constructs.EnclosedInlinedSequence
public void setComponentStatisticsId(org.apache.synapse.aspects.flow.statistics.data.artifact.ArtifactHolder holder)
setComponentStatisticsId
in interface org.apache.synapse.Mediator
setComponentStatisticsId
in class org.apache.synapse.mediators.AbstractMediator
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.