public class IndirectEndpoint extends AbstractEndpoint
anonymous, artifactContainerName, CHILDREN_JSON_ATT, errorHandler, fileName, initialized, isClusteringEnabled, log, NAME_JSON_ATT, trace, TYPE_JSON_ATT| Constructor and Description |
|---|
IndirectEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createJsonRepresentation() |
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, executeEpTypeSpecificFunctions, getArtifactContainerName, getCommentsList, getDefinition, getDescription, getEndpointChildrenAsJson, getErrorHandler, getFileName, getIsEdited, getJsonRepresentation, getName, getParentEndpoint, getProperties, getProperty, getReportingName, handleException, handleException, informFailure, isAnonymous, isInitialized, isLeafEndpoint, isRetry, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, logSetter, onChildEndpointFail, onFault, onSuccess, prepareForEndpointStatistics, removeProperty, setAdvancedProperties, setAnonymous, setArtifactContainerName, setChildren, setCommentsList, setComponentStatisticsId, setContentAware, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setForceBuildMC, setIsEdited, setParentEndpoint, traceOrDebuggetStackTrace, handleFault, handleFaultpublic void send(MessageContext synCtx)
send in interface Endpointsend in class AbstractEndpointsynCtx - the message to sendprotected void createJsonRepresentation()
createJsonRepresentation in class AbstractEndpointpublic 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–2024 Apache Software Foundation. All rights reserved.