public class DefaultEndpoint extends AbstractEndpoint
anonymous, errorHandler, fileName, initialized, isClusteringEnabled, log, trace
Constructor and Description |
---|
DefaultEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
onFault(MessageContext synCtx)
On a fault, propagate to parent if any, or call into the fault handler
|
void |
onSuccess()
The SynapseCallback Receiver notifies an endpoint, if a message was successfully processed
to give it a chance to clear up or reset its state to active
|
void |
send(MessageContext synCtx)
Sends the message context according to an endpoint specific behavior.
|
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, onChildEndpointFail, prepareForEndpointStatistics, readyToSend, removeProperty, setAnonymous, setChildren, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setName, setParentEndpoint, toString, traceOrDebug
getStackTrace, handleFault, handleFault
public void onFault(MessageContext synCtx)
AbstractEndpoint
onFault
in class AbstractEndpoint
synCtx
- the message at handpublic void onSuccess()
AbstractEndpoint
onSuccess
in interface Endpoint
onSuccess
in class AbstractEndpoint
public void send(MessageContext synCtx)
Endpoint
send
in interface Endpoint
send
in class AbstractEndpoint
synCtx
- MessageContext to be sent.Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.