public class IndirectEndpoint extends AbstractEndpoint
anonymous, errorHandler, fileName, initialized, isClusteringEnabled, log, trace| Constructor and Description |
|---|
IndirectEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
List<Endpoint> |
getChildren()
Get the children of this endpoint
|
EndpointContext |
getContext()
Get the EndpointContext that has the run-time state of this endpoint
|
String |
getKey() |
EndpointView |
getMetricsMBean()
Get a reference to the metrics MBean for this endpoint
|
Endpoint |
getRealEndpoint(MessageContext synCtx)
Get the real endpoint
|
void |
init(SynapseEnvironment synapseEnvironment)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
readyToSend()
Returns true to indicate that the endpoint is ready to service requests
|
void |
send(MessageContext synCtx)
Send by calling to the real endpoint
|
void |
setKey(String key) |
void |
setName(String endpointName)
Set the name of an abstraction
|
String |
toString() |
addProperties, addProperty, destroy, evaluateProperties, getDefinition, getDescription, getErrorHandler, getFileName, getName, getParentEndpoint, getProperties, getProperty, handleException, handleException, informFailure, isAnonymous, isInitialized, isLeafEndpoint, isRetryDisabled, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, onChildEndpointFail, onFault, onSuccess, prepareForEndpointStatistics, removeProperty, setAnonymous, setChildren, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setParentEndpoint, traceOrDebuggetStackTrace, handleFault, handleFaultpublic void send(MessageContext synCtx)
send in interface Endpointsend in class AbstractEndpointsynCtx - the message to sendpublic String getKey()
public void setKey(String key)
public boolean readyToSend()
EndpointreadyToSend in interface EndpointreadyToSend in class AbstractEndpointpublic void setName(String endpointName)
NameablesetName in interface NameablesetName in class AbstractEndpointendpointName - String Representation of namepublic EndpointContext getContext()
EndpointgetContext in interface EndpointgetContext in class AbstractEndpointpublic List<Endpoint> getChildren()
EndpointgetChildren in interface EndpointgetChildren in class AbstractEndpointpublic EndpointView getMetricsMBean()
EndpointgetMetricsMBean in interface EndpointgetMetricsMBean in class AbstractEndpointpublic void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycleinit in interface ManagedLifecycleinit in class AbstractEndpointsynapseEnvironment - SynapseEnvironment to be used for initializationpublic String toString()
toString in class AbstractEndpointpublic Endpoint getRealEndpoint(MessageContext synCtx)
synCtx - Message ContextCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.