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, traceOrDebug
getStackTrace, handleFault, handleFault
public void send(MessageContext synCtx)
Endpoint
send
in interface Endpoint
send
in class AbstractEndpoint
synCtx
- MessageContext to be sent.public void onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
Endpoint
onChildEndpointFail
in interface Endpoint
onChildEndpointFail
in class AbstractEndpoint
endpoint
- The child endpoint which caused the exception.synMessageContext
- MessageContext that was used in the failed attempt.public boolean readyToSend()
Endpoint
readyToSend
in interface Endpoint
readyToSend
in class AbstractEndpoint
public boolean isDynamic()
public void setDynamic(boolean dynamic)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.