public class TemplateEndpoint extends AbstractEndpoint
anonymous, artifactContainerName, errorHandler, fileName, initialized, isClusteringEnabled, trace| Constructor and Description |
|---|
TemplateEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String name,
String value) |
String |
getAddress() |
Map<String,String> |
getParameters() |
String |
getParameterValue(String name) |
Endpoint |
getRealEndpoint() |
String |
getTemplate() |
void |
init(SynapseEnvironment synapseEnvironment)
This method should implement the initialization of the
implemented parts of the configuration.
|
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 |
sendMessage(MessageContext synCtx) |
void |
setAddress(String address) |
void |
setTemplate(String template) |
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, removeProperty, setAnonymous, setArtifactContainerName, setChildren, setComponentStatisticsId, setContentAware, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setForceBuildMC, setIsEdited, setName, setParentEndpoint, toString, traceOrDebuggetStackTrace, handleFault, handleFaultpublic void send(MessageContext synCtx)
Endpointsend in interface Endpointsend in class AbstractEndpointsynCtx - MessageContext to be sent.public void sendMessage(MessageContext synCtx)
public String getTemplate()
public void setTemplate(String template)
public String getAddress()
public void setAddress(String address)
public void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycleinit in interface ManagedLifecycleinit in class AbstractEndpointsynapseEnvironment - SynapseEnvironment to be used for initializationpublic boolean readyToSend()
EndpointreadyToSend in interface EndpointreadyToSend in class AbstractEndpointpublic Endpoint getRealEndpoint()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.