org.apache.synapse.mediators.builtin
Class EnqueueMediator
java.lang.Object
org.apache.synapse.mediators.AbstractMediator
org.apache.synapse.mediators.builtin.EnqueueMediator
- All Implemented Interfaces:
- AspectConfigurable, Mediator, SynapseArtifact
public class EnqueueMediator
- extends AbstractMediator
This mediator execute a given sequence with a given priority.
It accepts the priority as and argument. The executor used for executing this
sequence should support this priority. If it doesn't support this priority it
executor can throw exceptions.
Methods inherited from class org.apache.synapse.mediators.AbstractMediator |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnqueueMediator
public EnqueueMediator()
mediate
public boolean mediate(MessageContext synCtx)
- Description copied from interface:
Mediator
- Invokes the mediator passing the current message for mediation. Each
mediator performs its mediation action, and returns true if mediation
should continue, or false if further mediation should be aborted.
- Parameters:
synCtx
- the current message for mediation
- Returns:
- true if further mediation should continue
getExecutorName
public String getExecutorName()
getPriority
public int getPriority()
getSequenceName
public String getSequenceName()
setExecutorName
public void setExecutorName(String executorName)
setPriority
public void setPriority(int priority)
setSequenceName
public void setSequenceName(String sequenceName)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.