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, unregisterMediationFlowPointpublic 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)
ManagedLifecycleinit in interface ManagedLifecyclesynapseEnvironment - SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycledestroy in interface ManagedLifecyclepublic boolean isContentAware()
isContentAware in interface MediatorisContentAware in class AbstractMediatorpublic void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId in interface MediatorsetComponentStatisticsId in class AbstractMediatorCopyright © 2005–2019 Apache Software Foundation. All rights reserved.