Class InboundOneTimeTriggerEventBasedProcessor

java.lang.Object
org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor
org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerEventBasedProcessor
All Implemented Interfaces:
org.apache.synapse.inbound.InboundRequestProcessor
Direct Known Subclasses:
GenericEventBasedListener

public abstract class InboundOneTimeTriggerEventBasedProcessor extends InboundOneTimeTriggerRequestProcessor
  • Constructor Details

    • InboundOneTimeTriggerEventBasedProcessor

      public InboundOneTimeTriggerEventBasedProcessor()
  • Method Details

    • start

      protected void start(GenericOneTimeTask task, String endpointPostfix)
      Based on the coordination option schedule the task with NTASK or run as a background thread
      Parameters:
      task -
      endpointPostfix -
    • destroy

      public void destroy()
      Stop the inbound polling processor This will be called when inbound is undeployed/redeployed or when server stop
      Specified by:
      destroy in interface org.apache.synapse.inbound.InboundRequestProcessor
      Overrides:
      destroy in class InboundOneTimeTriggerRequestProcessor