Class JMSTask

  • All Implemented Interfaces:
    org.apache.synapse.ManagedLifecycle, org.apache.synapse.task.Task, PinnedPollingTask, org.wso2.carbon.ntask.core.impl.LocalTaskActionListener

    public class JMSTask
    extends InboundTask
    implements org.wso2.carbon.ntask.core.impl.LocalTaskActionListener
    JMSTask class is used to schedule the inbound execution when the coordination is required
    • Constructor Detail

    • Method Detail

      • init

        public void init​(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
        Specified by:
        init in interface org.apache.synapse.ManagedLifecycle
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.apache.synapse.ManagedLifecycle
      • notifyLocalTaskDeletion

        public void notifyLocalTaskDeletion​(String taskName)

        Destroys the JMS task upon deletion of the local task.

        Specified by:
        notifyLocalTaskDeletion in interface org.wso2.carbon.ntask.core.impl.LocalTaskActionListener
        Parameters:
        taskName - the name of the task that was deleted