public class ClassEndpoint extends AbstractEndpoint
AbstractEndpoint
class.
eg:
anonymous, artifactContainerName, errorHandler, fileName, initialized, isClusteringEnabled, log, trace
Constructor and Description |
---|
ClassEndpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
getClassEndpoint() |
Map<String,String> |
getParameters() |
void |
init(SynapseEnvironment synapseEnvironment)
Override the
AbstractEndpoint.init() to load a custom synapse
environment. |
void |
send(MessageContext synCtx)
Sends the message context according to an endpoint specific behavior.
|
void |
sendMessage(MessageContext synMessageContext)
Override the
AbstractEndpoint.send() to have a custom
message send out logic. |
void |
setClassEndpoint(Endpoint classEndpoint) |
void |
setParameters(String name,
String value) |
addProperties, addProperty, destroy, evaluateProperties, executeEpTypeSpecificFunctions, getArtifactContainerName, getChildren, getContext, getDefinition, getDescription, getErrorHandler, getFileName, getIsEdited, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, getReportingName, handleException, handleException, informFailure, isAnonymous, isInitialized, isLeafEndpoint, isRetry, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, logSetter, onChildEndpointFail, onFault, onSuccess, 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 setClassEndpoint(Endpoint classEndpoint)
public Endpoint getClassEndpoint()
public void send(MessageContext synCtx)
Endpoint
send
in interface Endpoint
send
in class AbstractEndpoint
synCtx
- MessageContext to be sent.public void init(SynapseEnvironment synapseEnvironment)
AbstractEndpoint.init()
to load a custom synapse
environment.init
in interface ManagedLifecycle
init
in class AbstractEndpoint
synapseEnvironment
- SynapseEnvironment to be used for initializationpublic void sendMessage(MessageContext synMessageContext)
AbstractEndpoint.send()
to have a custom
message send out logic.Copyright © 2005–2019 Apache Software Foundation. All rights reserved.