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, startpublic 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.InboundRequestProcessorpublic void start()
public void destroy()
destroy in interface org.apache.synapse.inbound.InboundRequestProcessordestroy in class InboundRequestProcessorImplpublic String getName()
public void setName(String name)
public void update()
update in interface org.apache.synapse.task.TaskStartupObserverCopyright © 2017 WSO2. All rights reserved.