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, traceOrDebug
getStackTrace, handleFault, handleFault
public void send(MessageContext synCtx)
send
in interface Endpoint
send
in class AbstractEndpoint
synCtx
- the message to sendpublic String getKey()
public void setKey(String key)
public boolean readyToSend()
Endpoint
readyToSend
in interface Endpoint
readyToSend
in class AbstractEndpoint
public void setName(String endpointName)
Nameable
setName
in interface Nameable
setName
in class AbstractEndpoint
endpointName
- String Representation of namepublic EndpointContext getContext()
Endpoint
getContext
in interface Endpoint
getContext
in class AbstractEndpoint
public List<Endpoint> getChildren()
Endpoint
getChildren
in interface Endpoint
getChildren
in class AbstractEndpoint
public EndpointView getMetricsMBean()
Endpoint
getMetricsMBean
in interface Endpoint
getMetricsMBean
in class AbstractEndpoint
public void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycle
init
in interface ManagedLifecycle
init
in class AbstractEndpoint
synapseEnvironment
- SynapseEnvironment to be used for initializationpublic String toString()
toString
in class AbstractEndpoint
public Endpoint getRealEndpoint(MessageContext synCtx)
synCtx
- Message ContextCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.