public class CalloutMediator extends AbstractMediator implements ManagedLifecycle
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_AXIS2_XML |
static String |
DEFAULT_CLIENT_REPO |
log, trace, traceState
Constructor and Description |
---|
CalloutMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
String |
getAction() |
String |
getAxis2xml() |
String |
getClientRepository() |
Endpoint |
getEndpoint()
Get the defined endpoint
|
String |
getEndpointKey() |
String |
getInboundWsSecPolicyKey()
Get the inbound security policy key.
|
boolean |
getInitClientOptions() |
String |
getOutboundWsSecPolicyKey()
Get the outbound security policy key.
|
String |
getRequestKey() |
SynapseXPath |
getRequestXPath() |
String |
getServiceURL() |
String |
getTargetKey() |
SynapseXPath |
getTargetXPath() |
String |
getUseServerConfig() |
String |
getWsSecPolicyKey()
Return the Rampart Security configuration policys' 'key' to be used (See Rampart)
|
void |
init(SynapseEnvironment synEnv)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
isSecurityOn()
Is WS-Security turned on on this endpoint?
|
boolean |
isUseEnvelopeAsSource() |
boolean |
mediate(MessageContext synCtx)
Invokes the mediator passing the current message for mediation.
|
void |
setAction(String action) |
void |
setAxis2xml(String axis2xml) |
void |
setClientRepository(String clientRepository) |
void |
setComponentStatisticsId(ArtifactHolder holder) |
void |
setEndpoint(Endpoint endpoint)
Set the defined endpoint
|
void |
setEndpointKey(String key) |
void |
setInboundWsSecPolicyKey(String inboundWsSecPolicyKey)
Set the inbound security policy key.
|
void |
setInitClientOptions(boolean initClientOptions) |
void |
setOutboundWsSecPolicyKey(String outboundWsSecPolicyKey)
Set the outbound security policy key.This is used when we specify different policies for
inbound and outbound.
|
void |
setRequestKey(String requestKey) |
void |
setRequestXPath(SynapseXPath requestXPath) |
void |
setSecurityOn(boolean securityOn)
Request that WS-Sec be turned on/off on this endpoint
|
void |
setServiceURL(String serviceURL) |
void |
setTargetKey(String targetKey) |
void |
setTargetXPath(SynapseXPath targetXPath) |
void |
setUseEnvelopeAsSource(boolean useEnvelopeAsSource) |
void |
setUseServerConfig(String useServerConfig) |
void |
setWsSecPolicyKey(String wsSecPolicyKey)
Set the Rampart Security configuration policys' 'key' to be used (See Rampart)
|
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, isContentAware, 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 synCtx)
Mediator
public void init(SynapseEnvironment synEnv)
ManagedLifecycle
init
in interface ManagedLifecycle
synEnv
- SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
public String getServiceURL()
public void setServiceURL(String serviceURL)
public String getAction()
public void setAction(String action)
public String getUseServerConfig()
public void setUseServerConfig(String useServerConfig)
public String getRequestKey()
public void setRequestKey(String requestKey)
public void setRequestXPath(SynapseXPath requestXPath) throws org.jaxen.JaxenException
org.jaxen.JaxenException
public void setTargetXPath(SynapseXPath targetXPath) throws org.jaxen.JaxenException
org.jaxen.JaxenException
public String getTargetKey()
public void setTargetKey(String targetKey)
public SynapseXPath getRequestXPath()
public SynapseXPath getTargetXPath()
public String getClientRepository()
public void setClientRepository(String clientRepository)
public String getAxis2xml()
public void setAxis2xml(String axis2xml)
public void setEndpointKey(String key)
public String getEndpointKey()
public boolean getInitClientOptions()
public void setInitClientOptions(boolean initClientOptions)
public boolean isUseEnvelopeAsSource()
public void setUseEnvelopeAsSource(boolean useEnvelopeAsSource)
public boolean isSecurityOn()
public void setSecurityOn(boolean securityOn)
securityOn
- a boolean flag indicating security is on or notpublic String getWsSecPolicyKey()
public void setWsSecPolicyKey(String wsSecPolicyKey)
wsSecPolicyKey
- the Rampart Security configuration policys' 'key' to be usedpublic String getOutboundWsSecPolicyKey()
public void setOutboundWsSecPolicyKey(String outboundWsSecPolicyKey)
outboundWsSecPolicyKey
- outbound security policy key.public String getInboundWsSecPolicyKey()
public void setInboundWsSecPolicyKey(String inboundWsSecPolicyKey)
inboundWsSecPolicyKey
- inbound security policy key.public Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
endpoint
- defined endpointpublic void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId
in interface Mediator
setComponentStatisticsId
in class AbstractMediator
Copyright © 2005–2018 Apache Software Foundation. All rights reserved.