Class GenericProcessor

java.lang.Object
org.wso2.carbon.inbound.endpoint.common.InboundRequestProcessorImpl
org.wso2.carbon.inbound.endpoint.protocol.generic.GenericProcessor
All Implemented Interfaces:
org.apache.synapse.inbound.InboundRequestProcessor, org.apache.synapse.task.TaskStartupObserver

public class GenericProcessor extends InboundRequestProcessorImpl implements org.apache.synapse.task.TaskStartupObserver
  • Constructor Details

    • GenericProcessor

      public GenericProcessor(String name, String classImpl, Properties properties, long scanInterval, String injectingSeq, String onErrorSeq, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, boolean coordination, boolean sequential)
    • GenericProcessor

      public GenericProcessor(org.apache.synapse.inbound.InboundProcessorParams params)
  • Method Details

    • init

      public void init()
      Specified by:
      init in interface org.apache.synapse.inbound.InboundRequestProcessor
    • start

      public void start()
    • 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 InboundRequestProcessorImpl
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • update

      public void update()
      Specified by:
      update in interface org.apache.synapse.task.TaskStartupObserver