public class CalloutBlockMediator 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 |
---|
CalloutBlockMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
String |
getAction() |
String |
getRequestKey() |
SynapseXPath |
getRequestXPath() |
String |
getServiceURL() |
String |
getTargetKey() |
SynapseXPath |
getTargetXPath() |
void |
init(SynapseEnvironment synEnv)
Initialize synapse environment
|
boolean |
mediate(MessageContext synCtx)
Blocks external service invocation
|
void |
setAction(String action) |
void |
setRequestKey(String requestKey) |
void |
setRequestXPath(SynapseXPath requestXPath) |
void |
setServiceURL(String serviceURL) |
void |
setTargetKey(String targetKey) |
void |
setTargetXPath(SynapseXPath targetXPath) |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isContentAware, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
public static final String DEFAULT_CLIENT_REPO
public static final String DEFAULT_AXIS2_XML
public boolean mediate(MessageContext synCtx)
public void init(SynapseEnvironment synEnv)
init
in interface ManagedLifecycle
synEnv
- SynapseEnvironmentpublic void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
public void setServiceURL(String serviceURL)
public void setAction(String action)
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 void setTargetKey(String targetKey)
public String getServiceURL()
public String getAction()
public String getRequestKey()
public SynapseXPath getRequestXPath()
public SynapseXPath getTargetXPath()
public String getTargetKey()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.