Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Salesforce streaming inbound endpoint allows you to perform various Salesforce streaming data via WSO2 ESB. The Salesforce streaming API receives notifications for changes to Salesforce data that match a Salesforce Object Query Language (SOQL) query you define, in a secure and scalable way. For more information see Salesforce streaming documentation.

...

To use the Salesforce inbound endpoint, you need to first create a PushTopic that contains an SOQL query.

Go to the developer console of your Salesforce account and click on Debug->Open Execute Anonymous Window. Add the following entry in the Enter Apex Code window.  

...

  • connection.salesforce.userName:  The user name for accessing the Salesforce account.
  • connection.salesforce.loginEndpoint: The endpoint for the Salesforce account.

  • connection.salesforce.passwordThe password provided here is a concatenation of the user password and the security token provided by Salesforce. For information on creating a security token in Salesforce, see https://help.salesforce.com/articleView?id=user_security_token.htm&type=5.

  • connection.salesforce.salesforceObject : The name of the push topic that is added to the Salesforce account.
  • connection.salesforce.connectionTimeout: The time to connect to the Salesforce account (default : 20 * 1000 seconds).

  • connection.salesforce.readTimeout: The time to read the data (110 * 1000 seconds).

  • connection.salesforce.waitTime: The time to wait when connecting to the client (default : 10 * 1000s).

  • connection.salesforce.packageName: The event routing bus that implements Bayeux Client.

  • connection.salesforce.packageVersion: The version of the connection.salesforce.packageName.

  • connection.salesforce.soapApiVersion: The version of the salesforce soap API.


...