public class SALoadbalanceEndpoint extends LoadbalanceEndpoint
anonymous, artifactContainerName, CHILDREN_JSON_ATT, errorHandler, fileName, initialized, isClusteringEnabled, log, NAME_JSON_ATT, trace, TYPE_JSON_ATT| Constructor and Description |
|---|
SALoadbalanceEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
Dispatcher |
getDispatcher() |
long |
getSessionTimeout() |
void |
init(SynapseEnvironment synapseEnvironment)
This method should implement the initialization of the
implemented parts of the configuration.
|
void |
onChildEndpointFail(Endpoint endpoint,
MessageContext synCtx)
It is logically incorrect to failover a session affinity endpoint after the session has started.
|
void |
send(MessageContext synCtx)
Sends the message context according to an endpoint specific behavior.
|
void |
sendMessage(MessageContext synCtx) |
void |
setDispatcher(Dispatcher dispatcher) |
void |
setSessionTimeout(long sessionTimeout) |
createJsonRepresentation, destroy, getAlgorithm, getMembers, getNextChild, isBuildMessageAtt, isFailover, isInitialized, readyToSend, setAlgorithm, setBuildMessageAtt, setBuildMessageAttAvailable, setFailover, setMembers, startApplicationMembershipTimeraddProperties, addProperty, evaluateProperties, executeEpTypeSpecificFunctions, getArtifactContainerName, getChildren, getCommentsList, getContext, getDefinition, getDescription, getEndpointChildrenAsJson, getErrorHandler, getFileName, getIsEdited, getJsonRepresentation, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, getReportingName, handleException, handleException, informFailure, isAnonymous, isLeafEndpoint, isRetry, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, logSetter, onFault, onSuccess, prepareForEndpointStatistics, removeProperty, setAdvancedProperties, setAnonymous, setArtifactContainerName, setChildren, setCommentsList, setComponentStatisticsId, setContentAware, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setForceBuildMC, setIsEdited, setName, setParentEndpoint, toString, traceOrDebuggetStackTrace, handleFault, handleFaultpublic void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycleinit in interface ManagedLifecycleinit in class LoadbalanceEndpointsynapseEnvironment - SynapseEnvironment to be used for initializationpublic void send(MessageContext synCtx)
Endpointsend in interface Endpointsend in class LoadbalanceEndpointsynCtx - MessageContext to be sent.public void sendMessage(MessageContext synCtx)
public Dispatcher getDispatcher()
public void setDispatcher(Dispatcher dispatcher)
public void onChildEndpointFail(Endpoint endpoint, MessageContext synCtx)
onChildEndpointFail in interface EndpointonChildEndpointFail in class LoadbalanceEndpointendpoint - Failed endpoint.synCtx - MessageContext of the failed message.public long getSessionTimeout()
public void setSessionTimeout(long sessionTimeout)
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.