Package org.apache.synapse.mediators
Class MediatorWorker
- java.lang.Object
-
- org.apache.synapse.mediators.MediatorWorker
-
-
Constructor Summary
Constructors Constructor Description MediatorWorker(Mediator seq, MessageContext synCtx)
Constructor of the MediatorWorker which sets the sequence and the message contextMediatorWorker(MessageContext synCtx)
Constructor od the MediatorWorker which sets the provided message context and the main sequence as the sequence for mediation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Execution method of the thread.void
setStatisticsCloseEventListener(StatisticsCloseEventListener statisticsCloseEventListener)
-
-
-
Constructor Detail
-
MediatorWorker
public MediatorWorker(Mediator seq, MessageContext synCtx)
Constructor of the MediatorWorker which sets the sequence and the message context- Parameters:
seq
- - Sequence Mediator to be setsynCtx
- - Synapse MessageContext to be set
-
MediatorWorker
public MediatorWorker(MessageContext synCtx)
Constructor od the MediatorWorker which sets the provided message context and the main sequence as the sequence for mediation- Parameters:
synCtx
- - Synapse MessageContext to be set
-
-
Method Detail
-
run
public void run()
Execution method of the thread. This will just call the mediation of the specified Synapse MessageContext using the specified Sequence Mediator
-
setStatisticsCloseEventListener
public void setStatisticsCloseEventListener(StatisticsCloseEventListener statisticsCloseEventListener)
-
-