public class ServiceDynamicLoadbalanceEndpoint extends DynamicLoadbalanceEndpoint
dispatcher, sessionAffinity, sessionTimeout
anonymous, errorHandler, fileName, initialized, isClusteringEnabled, trace
Constructor and Description |
---|
ServiceDynamicLoadbalanceEndpoint(Map<String,String> hostDomainMap,
LoadbalanceAlgorithm algorithm) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getHostDomainMap() |
LoadBalanceMembershipHandler |
getLbMembershipHandler() |
void |
init(SynapseEnvironment synapseEnvironment)
This method should implement the initialization of the
implemented parts of the configuration.
|
void |
send(MessageContext synCtx)
Sends the message context according to an endpoint specific behavior.
|
extractSessionID, getDispatcher, getSessionTimeout, isSessionAffinityBasedLB, sendToApplicationMember, setCookieHeader, setDispatcher, setLoadBalanceMembershipHandler, setName, setSessionAffinity, setSessionTimeout
destroy, getAlgorithm, getMembers, getNextChild, isFailover, onChildEndpointFail, readyToSend, setAlgorithm, setFailover, setMembers, startApplicationMembershipTimer
addProperties, 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, setParentEndpoint, toString, traceOrDebug
getStackTrace, handleFault, handleFault
public ServiceDynamicLoadbalanceEndpoint(Map<String,String> hostDomainMap, LoadbalanceAlgorithm algorithm)
public void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycle
init
in interface ManagedLifecycle
init
in class DynamicLoadbalanceEndpoint
synapseEnvironment
- SynapseEnvironment to be used for initializationpublic LoadBalanceMembershipHandler getLbMembershipHandler()
getLbMembershipHandler
in class DynamicLoadbalanceEndpoint
public void send(MessageContext synCtx)
Endpoint
send
in interface Endpoint
send
in class DynamicLoadbalanceEndpoint
synCtx
- MessageContext to be sent.Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.