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, traceOrDebug
getStackTrace, handleFault, handleFault
public void send(MessageContext synCtx)
Endpoint
send
in interface Endpoint
send
in class AbstractEndpoint
synCtx
- 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)
ManagedLifecycle
init
in interface ManagedLifecycle
init
in class AbstractEndpoint
synapseEnvironment
- SynapseEnvironment to be used for initializationpublic boolean readyToSend()
Endpoint
readyToSend
in interface Endpoint
readyToSend
in class AbstractEndpoint
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.