public class SalesforceStreamData extends org.wso2.carbon.inbound.endpoint.protocol.generic.GenericPollingConsumer implements ConnectionFailureListener
| Constructor and Description |
|---|
SalesforceStreamData(Properties salesforceProperties,
String name,
org.apache.synapse.core.SynapseEnvironment synapseEnvironment,
long scanInterval,
String injectingSeq,
String onErrorSeq,
boolean coordination,
boolean sequential) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
stop the connector when redeploy or shutdown the server.
|
void |
onConnectionFailure()
Handles connection failure notifications from the EmpConnector.
|
Object |
poll()
Each polling time this method calls
|
void |
resume() |
public SalesforceStreamData(Properties salesforceProperties, String name, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, long scanInterval, String injectingSeq, String onErrorSeq, boolean coordination, boolean sequential)
public void onConnectionFailure()
onConnectionFailure in interface ConnectionFailureListenerpublic Object poll()
poll in class org.wso2.carbon.inbound.endpoint.protocol.generic.GenericPollingConsumerpublic void destroy()
destroy in class org.wso2.carbon.inbound.endpoint.protocol.generic.GenericPollingConsumerpublic void resume()
resume in class org.wso2.carbon.inbound.endpoint.protocol.generic.GenericPollingConsumerCopyright © 2025 WSO2. All rights reserved.