org.apache.synapse.mediators.store
Class MessageStoreMediator

java.lang.Object
  extended by org.apache.synapse.mediators.AbstractMediator
      extended by org.apache.synapse.mediators.store.MessageStoreMediator
All Implemented Interfaces:
AspectConfigurable, Mediator, SynapseArtifact

public class MessageStoreMediator
extends AbstractMediator

MessageStoreMediator will store the incoming Messages in associated MessageStore


Field Summary
 
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
 
Constructor Summary
MessageStoreMediator()
           
 
Method Summary
 String getMessageStoreName()
           
 String getName()
           
 String getOnStoreSequence()
           
 boolean mediate(MessageContext synCtx)
          Invokes the mediator passing the current message for mediation.
 void setMessageStoreName(String messageStoreName)
           
 void setName(String name)
           
 void setOnStoreSequence(String onStoreSequence)
           
 
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
 

Constructor Detail

MessageStoreMediator

public MessageStoreMediator()
Method Detail

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

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)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.