public class SALoadbalanceEndpoint extends LoadbalanceEndpoint
anonymous, errorHandler, fileName, initialized, isClusteringEnabled, log, trace| 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 | 
setDispatcher(Dispatcher dispatcher)  | 
void | 
setSessionTimeout(long sessionTimeout)  | 
destroy, getAlgorithm, getMembers, getNextChild, isFailover, readyToSend, setAlgorithm, setFailover, setMembers, startApplicationMembershipTimeraddProperties, addProperty, evaluateProperties, getChildren, getContext, getDefinition, getDescription, getErrorHandler, getFileName, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, handleException, handleException, informFailure, isAnonymous, isInitialized, isLeafEndpoint, isRetryDisabled, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, onFault, onSuccess, prepareForEndpointStatistics, removeProperty, setAnonymous, setChildren, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, 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 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-2017 Apache Software Foundation. All Rights Reserved.