public class CallMediator extends AbstractMediator implements ManagedLifecycle
ContinuationState
which are stored in the ContinuationStateStack
which resides in the MessageContext.
These ContinuationStates are used to mediate the response message and continue the message flow.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_AXIS2_XML |
static String |
DEFAULT_CLIENT_REPO |
log, trace, traceState
Constructor and Description |
---|
CallMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
String |
getAxis2xml() |
String |
getClientRepository() |
Endpoint |
getEndpoint() |
boolean |
getInitClientOptions() |
void |
init(SynapseEnvironment synapseEnvironment)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
isBlocking() |
boolean |
isContentAware()
Setting return blocking makes CallMediator access the message’s content in blocking mode when mediating messages
Fixes product-ei #1805, #3015
|
boolean |
mediate(MessageContext synInCtx)
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 |
setAxis2xml(String axis2xml) |
void |
setBlocking(boolean blocking) |
void |
setClientRepository(String clientRepository) |
void |
setComponentStatisticsId(ArtifactHolder holder) |
void |
setEndpoint(Endpoint endpoint) |
void |
setInitClientOptions(boolean initClientOptions) |
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 static final String DEFAULT_CLIENT_REPO
public static final String DEFAULT_AXIS2_XML
public boolean mediate(MessageContext synInCtx)
public Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
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 boolean isBlocking()
public void setBlocking(boolean blocking)
public boolean getInitClientOptions()
public void setInitClientOptions(boolean initClientOptions)
public String getClientRepository()
public void setClientRepository(String clientRepository)
public String getAxis2xml()
public void setAxis2xml(String axis2xml)
public void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId
in interface Mediator
setComponentStatisticsId
in class AbstractMediator
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.