public class SendMediator extends AbstractMediator implements ManagedLifecycle
log, trace, traceState
Constructor and Description |
---|
SendMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
Endpoint |
getEndpoint() |
Value |
getReceivingSequence() |
void |
init(SynapseEnvironment synapseEnvironment)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
isBuildMessage() |
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
This will call the send method on the messages with implicit message parameters
or else if there is an endpoint, with that endpoint parameters
|
void |
setBuildMessage(boolean buildMessage) |
void |
setComponentStatisticsId(ArtifactHolder holder) |
void |
setEndpoint(Endpoint endpoint) |
void |
setReceivingSequence(Value receivingSequence) |
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, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public boolean mediate(MessageContext synCtx)
public Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
public Value getReceivingSequence()
public void setReceivingSequence(Value receivingSequence)
public void setBuildMessage(boolean buildMessage)
public boolean isBuildMessage()
public void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycle
init
in interface ManagedLifecycle
synapseEnvironment
- SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
public boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractMediator
public void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId
in interface Mediator
setComponentStatisticsId
in class AbstractMediator
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.