public class TemplateMessageExecutor extends Object implements org.apache.synapse.task.Task, ManagedLifecycle
Constructor and Description |
---|
TemplateMessageExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
void |
execute() |
String |
getTemplateKey() |
org.apache.axiom.om.OMElement |
getTemplateParams() |
void |
init(SynapseEnvironment se)
This method should implement the initialization of the
implemented parts of the configuration.
|
void |
setTemplateKey(String templateKey) |
void |
setTemplateParams(org.apache.axiom.om.OMElement templateParams) |
public void init(SynapseEnvironment se)
ManagedLifecycle
init
in interface ManagedLifecycle
se
- SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
public void execute()
execute
in interface org.apache.synapse.task.Task
public String getTemplateKey()
public void setTemplateKey(String templateKey)
public org.apache.axiom.om.OMElement getTemplateParams()
public void setTemplateParams(org.apache.axiom.om.OMElement templateParams)
Copyright © 2005–2017 Apache Software Foundation. All rights reserved.