public class DefaultEndpoint extends AbstractEndpoint
anonymous, artifactContainerName, 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, executeEpTypeSpecificFunctions, getArtifactContainerName, getChildren, getContext, getDefinition, getDescription, getErrorHandler, getFileName, getIsEdited, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, getReportingName, handleException, handleException, informFailure, init, isAnonymous, isInitialized, isLeafEndpoint, isRetry, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, logSetter, onChildEndpointFail, prepareForEndpointStatistics, readyToSend, removeProperty, setAnonymous, setArtifactContainerName, setChildren, setComponentStatisticsId, setContentAware, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setForceBuildMC, setIsEdited, 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–2019 Apache Software Foundation. All rights reserved.