Mule with salesforce push topic notification

Mule with salesforce push topic notification
1. Define Push Topic in SFDC The easiest way to do this is to either use the workbench at developerforce.com or the developer console. I'm going to use the developer console. In the console head to Debug -> Execute Anonymous Apex Code. We are essentially creating a SOQL query with a few extra parameters that watch for changes in a specified object. If the Push Topic is executed successfully then Salesforce is ready to post notification to MULE ESB if any changes made in the Account object in Salesforce, because the below Push Topic has been created for Salesforce’s Account object.
 2. Mule SFDC Cloud Connector Select the MULE SFDC Cloud Connector and setup the following details by defining the Global element – • User Name • Password • Security Token • URL
3. Mule SFDC Inbound Endpoint To receive the Push Topic notifications from Salesforce, Salesforce connector has to define as a inbound endpoint with the ‘Subscribe topic’ operation by including the Push Topic Name 
4. Mule flow Salesforce connector is defined as an inbound endpoint with the ‘Subscribe topic’ operation by including the Push Topic Name. In case of any changes in the Salesforce Account object, the Push Topic defined in the Salesforce will auto post the notification to the Mule Connector. Once the Account changes received in the flow 
5. Outcomes After deployment of the Mule project, if any changes made against the Account object then it will be notified to Mule using Streaming API. For example, I have made changes in the Customer details for Last Name from ‘Pandey’ to ‘Pandey1’ – Once the changes are saved in the Salesforce, this will be notified to Mule via Push Topic

Comments

Post a Comment

Popular posts from this blog

Features of Mule SAP Connector

Install Java Cryptography Extension (JCE) unlimited strength jurisdiction policy

Integration with Sercice-Now using Mule ESB