public class JMSTask extends InboundTask implements org.wso2.carbon.ntask.core.impl.LocalTaskActionListener
interval, TASK_THRESHOLD_INTERVAL| Constructor and Description |
|---|
JMSTask(JMSPollingConsumer jmsPollingConsumer,
long interval) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Properties |
getInboundProperties() |
void |
init(org.apache.synapse.core.SynapseEnvironment synapseEnvironment) |
void |
notifyLocalTaskDeletion(String taskName) |
protected void |
taskExecute() |
executepublic JMSTask(JMSPollingConsumer jmsPollingConsumer, long interval)
protected void taskExecute()
taskExecute in class InboundTaskpublic Properties getInboundProperties()
getInboundProperties in interface PinnedPollingTaskgetInboundProperties in class InboundTaskpublic void init(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
init in interface org.apache.synapse.ManagedLifecyclepublic void destroy()
destroy in interface org.apache.synapse.ManagedLifecyclepublic void notifyLocalTaskDeletion(String taskName)
Destroys the JMS task upon deletion of the local task.
notifyLocalTaskDeletion in interface org.wso2.carbon.ntask.core.impl.LocalTaskActionListenertaskName - the name of the task that was deletedCopyright © 2018 WSO2. All rights reserved.