public class RecipientListEndpoint extends AbstractEndpoint
A Recipient List endpoint can contain multiple child endpoints or member elements. It routes cloned copies of messages to each child recipient. This will assume that all immediate child endpoints are identical in state (state is replicated) or state is not maintained at those endpoints.
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_MAX_POOL | 
anonymous, errorHandler, fileName, initialized, isClusteringEnabled, trace| Constructor and Description | 
|---|
| RecipientListEndpoint() | 
| RecipientListEndpoint(int poolSize) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()This method should implement the destroying of the
 implemented parts of the configuration. | 
| int | getCurrentPoolSize() | 
| Value | getDynamicEndpointSet() | 
| List<org.apache.axis2.clustering.Member> | getMembers() | 
| void | init(SynapseEnvironment synapseEnvironment)This method should implement the initialization of the
 implemented parts of the configuration. | 
| boolean | isFailover() | 
| void | onChildEndpointFail(Endpoint endpoint,
                   MessageContext synMessageContext)Endpoints that contain other endpoints should implement this method. | 
| boolean | readyToSend()Returns true to indicate that the endpoint is ready to service requests | 
| void | send(MessageContext synCtx)Sends the message context according to an endpoint specific behavior. | 
| void | setDynamicEndpointSet(Value dynamicEndpointSet) | 
| void | setFailover(boolean failover) | 
| void | setMembers(List<org.apache.axis2.clustering.Member> members) | 
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, setName, setParentEndpoint, toString, traceOrDebuggetStackTrace, handleFault, handleFaultpublic static final int DEFAULT_MAX_POOL
public RecipientListEndpoint(int poolSize)
public RecipientListEndpoint()
public void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycleinit in interface ManagedLifecycleinit in class AbstractEndpointsynapseEnvironment - SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycledestroy in interface ManagedLifecycledestroy in class AbstractEndpointpublic void send(MessageContext synCtx)
Endpointsend in interface Endpointsend in class AbstractEndpointsynCtx - MessageContext to be sent.public boolean readyToSend()
EndpointreadyToSend in interface EndpointreadyToSend in class AbstractEndpointpublic void onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
EndpointonChildEndpointFail in interface EndpointonChildEndpointFail in class AbstractEndpointendpoint - The child endpoint which caused the exception.synMessageContext - MessageContext that was used in the failed attempt.public List<org.apache.axis2.clustering.Member> getMembers()
public void setMembers(List<org.apache.axis2.clustering.Member> members)
public Value getDynamicEndpointSet()
public void setDynamicEndpointSet(Value dynamicEndpointSet)
public int getCurrentPoolSize()
public boolean isFailover()
public void setFailover(boolean failover)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.