public class FailoverEndpoint extends AbstractEndpoint
anonymous, errorHandler, fileName, initialized, isClusteringEnabled, log, trace| Constructor and Description | 
|---|
FailoverEndpoint()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isDynamic()  | 
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 | 
setDynamic(boolean dynamic)  | 
addProperties, addProperty, destroy, evaluateProperties, getChildren, getContext, getDefinition, getDescription, getErrorHandler, getFileName, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, handleException, handleException, informFailure, init, 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 send(MessageContext synCtx)
Endpointsend in interface Endpointsend in class AbstractEndpointsynCtx - MessageContext to be sent.public 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 boolean readyToSend()
EndpointreadyToSend in interface EndpointreadyToSend in class AbstractEndpointpublic boolean isDynamic()
public void setDynamic(boolean dynamic)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.