public abstract class AbstractConnector extends org.apache.synapse.mediators.AbstractMediator implements Connector
Constructor and Description |
---|
AbstractConnector() |
Modifier and Type | Method and Description |
---|---|
abstract void |
connect(org.apache.synapse.MessageContext messageContext)
implements the connection logic to external API or custom service pattern
|
protected Object |
getParameter(org.apache.synapse.MessageContext messageContext,
String paramName) |
boolean |
mediate(org.apache.synapse.MessageContext messageContext) |
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, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, isContentAware, reportCloseStatistics, reportOpenStatistics, setComponentStatisticsId, setMediatorPosition, setShortDescription, setTraceState
public abstract void connect(org.apache.synapse.MessageContext messageContext) throws ConnectException
Connector
connect
in interface Connector
ConnectException
- when error during conenction to APIs or unexpected errorspublic boolean mediate(org.apache.synapse.MessageContext messageContext)
mediate
in interface org.apache.synapse.Mediator
Copyright © 2021 WSO2. All rights reserved.