org.apache.synapse.experimental.mediators.seda
Class SEDAMediator

java.lang.Object
  extended by org.apache.synapse.mediators.AbstractMediator
      extended by org.apache.synapse.experimental.mediators.seda.SEDAMediator
All Implemented Interfaces:
AspectConfigurable, ManagedLifecycle, Mediator, SynapseArtifact

public class SEDAMediator
extends AbstractMediator
implements ManagedLifecycle


Field Summary
 
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
 
Constructor Summary
SEDAMediator()
           
 
Method Summary
 void destroy()
          This method should implement the destroying of the implemented parts of the configuration.
 String getConsumer()
           
 SEDAQueueConsumerPolicy getSedaQueueConsumerPolicy()
           
 SEDAQueuePolicy getSedaQueuePolicy()
           
 SEDAQueueProducerPolicy getSedaQueueProducerPolicy()
           
 void init(SynapseEnvironment se)
          This method should implement the initialization of the implemented parts of the configuration.
 boolean mediate(MessageContext synCtx)
          Invokes the mediator passing the current message for mediation.
 void setConsumer(String consumer)
           
 void setSedaQueueConsumerPolicy(SEDAQueueConsumerPolicy sedaQueueConsumerPolicy)
           
 void setSedaQueuePolicy(SEDAQueuePolicy sedaQueuePolicy)
           
 void setSedaQueueProducerPolicy(SEDAQueueProducerPolicy sedaQueueProducerPolicy)
           
 
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

SEDAMediator

public SEDAMediator()
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.

Specified by:
mediate in interface Mediator
Parameters:
synCtx - the current message for mediation
Returns:
true if further mediation should continue

init

public void init(SynapseEnvironment se)
Description copied from interface: ManagedLifecycle
This method should implement the initialization of the implemented parts of the configuration.

Specified by:
init in interface ManagedLifecycle
Parameters:
se - SynapseEnvironment to be used for initialization

destroy

public void destroy()
Description copied from interface: ManagedLifecycle
This method should implement the destroying of the implemented parts of the configuration.

Specified by:
destroy in interface ManagedLifecycle

getSedaQueueConsumerPolicy

public SEDAQueueConsumerPolicy getSedaQueueConsumerPolicy()

setSedaQueueConsumerPolicy

public void setSedaQueueConsumerPolicy(SEDAQueueConsumerPolicy sedaQueueConsumerPolicy)

getSedaQueueProducerPolicy

public SEDAQueueProducerPolicy getSedaQueueProducerPolicy()

setSedaQueueProducerPolicy

public void setSedaQueueProducerPolicy(SEDAQueueProducerPolicy sedaQueueProducerPolicy)

getSedaQueuePolicy

public SEDAQueuePolicy getSedaQueuePolicy()

setSedaQueuePolicy

public void setSedaQueuePolicy(SEDAQueuePolicy sedaQueuePolicy)

getConsumer

public String getConsumer()

setConsumer

public void setConsumer(String consumer)


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