Class MessageStoreMediator
- java.lang.Object
-
- org.apache.synapse.mediators.AbstractMediator
-
- org.apache.synapse.mediators.store.MessageStoreMediator
-
- All Implemented Interfaces:
AspectConfigurable,Mediator,SynapseArtifact
public class MessageStoreMediator extends AbstractMediator
MessageStoreMediatorwill store the incoming Messages in associated MessageStore
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
-
-
Constructor Summary
Constructors Constructor Description MessageStoreMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SynapsePathgetMessageStoreExp()StringgetMessageStoreName()StringgetName()StringgetOnStoreSequence()booleanmediate(MessageContext synCtx)Invokes the mediator passing the current message for mediation.voidsetMessageStoreExp(SynapsePath messageStoreExp)voidsetMessageStoreName(String messageStoreName)voidsetName(String name)voidsetOnStoreSequence(String onStoreSequence)-
Methods inherited from class org.apache.synapse.mediators.AbstractMediator
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, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
-
-
-
-
Method Detail
-
mediate
public boolean mediate(MessageContext synCtx)
Description copied from interface:MediatorInvokes 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
-
getName
public String getName()
-
setName
public void setName(String name)
-
getMessageStoreName
public String getMessageStoreName()
-
setMessageStoreName
public void setMessageStoreName(String messageStoreName)
-
getOnStoreSequence
public String getOnStoreSequence()
-
setOnStoreSequence
public void setOnStoreSequence(String onStoreSequence)
-
setMessageStoreExp
public void setMessageStoreExp(SynapsePath messageStoreExp)
-
getMessageStoreExp
public SynapsePath getMessageStoreExp()
-
-