public class TemplateEndpoint extends AbstractEndpoint
anonymous, 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) |
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 |
setAddress(String address) |
void |
setTemplate(String template) |
addProperties, addProperty, destroy, evaluateProperties, getChildren, getContext, getDefinition, getDescription, getErrorHandler, getFileName, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, handleException, handleException, informFailure, isAnonymous, isInitialized, isLeafEndpoint, isRetryDisabled, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, onChildEndpointFail, onFault, onSuccess, prepareForEndpointStatistics, removeProperty, setAnonymous, setChildren, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setName, setParentEndpoint, toString, traceOrDebuggetStackTrace, handleFault, handleFaultpublic void send(MessageContext synCtx)
Endpointsend in interface Endpointsend in class AbstractEndpointsynCtx - MessageContext to be sent.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 AbstractEndpointCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.