Class InboundTask

java.lang.Object
org.wso2.carbon.inbound.endpoint.common.InboundTask
All Implemented Interfaces:
org.apache.synapse.ManagedLifecycle, org.apache.synapse.task.Task, PinnedPollingTask
Direct Known Subclasses:
GenericTask, JMSTask, KAFKATask

public abstract class InboundTask extends Object implements org.apache.synapse.task.Task, org.apache.synapse.ManagedLifecycle, PinnedPollingTask
This class provides Generic Task implementation for inbound polling
  • Field Details

    • interval

      protected long interval
    • TASK_THRESHOLD_INTERVAL

      public static final int TASK_THRESHOLD_INTERVAL
      See Also:
  • Constructor Details

    • InboundTask

      public InboundTask()
  • Method Details

    • execute

      public void execute()
      Specified by:
      execute in interface org.apache.synapse.task.Task
    • taskExecute

      protected abstract void taskExecute()
    • getInboundProperties

      public abstract Properties getInboundProperties()
      Specified by:
      getInboundProperties in interface PinnedPollingTask