org.apache.synapse.endpoints
Class TemplateEndpoint
java.lang.Object
org.apache.synapse.FaultHandler
org.apache.synapse.endpoints.AbstractEndpoint
org.apache.synapse.endpoints.TemplateEndpoint
- All Implemented Interfaces:
- Endpoint, ManagedLifecycle, Nameable, PropertyInclude, SynapseArtifact
public class TemplateEndpoint
- extends AbstractEndpoint
Methods inherited from class org.apache.synapse.endpoints.AbstractEndpoint |
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 |
TemplateEndpoint
public TemplateEndpoint()
send
public void send(MessageContext synCtx)
- Description copied from interface:
Endpoint
- Sends the message context according to an endpoint specific behavior.
- Specified by:
send
in interface Endpoint
- Overrides:
send
in class AbstractEndpoint
- Parameters:
synCtx
- MessageContext to be sent.
getParameters
public Map<String,String> getParameters()
getParameterValue
public String getParameterValue(String name)
addParameter
public void addParameter(String name,
String value)
getTemplate
public String getTemplate()
setTemplate
public void setTemplate(String template)
getAddress
public String getAddress()
setAddress
public void setAddress(String address)
init
public void init(SynapseEnvironment synapseEnvironment)
- Description copied from interface:
ManagedLifecycle
- This method should implement the initialization of the
implemented parts of the configuration.
- Specified by:
init
in interface ManagedLifecycle
- Overrides:
init
in class AbstractEndpoint
- Parameters:
synapseEnvironment
- SynapseEnvironment to be used for initialization
readyToSend
public boolean readyToSend()
- Description copied from interface:
Endpoint
- Returns true to indicate that the endpoint is ready to service requests
- Specified by:
readyToSend
in interface Endpoint
- Overrides:
readyToSend
in class AbstractEndpoint
- Returns:
- true if endpoint is ready to service requests
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.