public class GenericProcessor extends InboundRequestProcessorImpl implements org.apache.synapse.task.TaskStartupObserver
COMMON_ENDPOINT_POSTFIX, coordination, interval, name, synapseEnvironment
Constructor and Description |
---|
GenericProcessor(org.apache.synapse.inbound.InboundProcessorParams params) |
GenericProcessor(String name,
String classImpl,
Properties properties,
long scanInterval,
String injectingSeq,
String onErrorSeq,
org.apache.synapse.core.SynapseEnvironment synapseEnvironment,
boolean coordination,
boolean sequential) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Stop the inbound polling processor This will be called when inbound is
undeployed/redeployed or when server stop
|
String |
getName() |
void |
init() |
void |
setName(String name) |
void |
start() |
void |
update() |
isPinnedServer, isPinnedServerEnabled, start
public GenericProcessor(String name, String classImpl, Properties properties, long scanInterval, String injectingSeq, String onErrorSeq, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, boolean coordination, boolean sequential)
public GenericProcessor(org.apache.synapse.inbound.InboundProcessorParams params)
public void init()
init
in interface org.apache.synapse.inbound.InboundRequestProcessor
public void start()
public void destroy()
destroy
in interface org.apache.synapse.inbound.InboundRequestProcessor
destroy
in class InboundRequestProcessorImpl
public String getName()
public void setName(String name)
public void update()
update
in interface org.apache.synapse.task.TaskStartupObserver
Copyright © 2019 WSO2. All rights reserved.