Salesforce to Salesforce and Database Account Broadcast
home
Synchronizes online accounts from a Salesforce instance to many destination systems using the publish-subscribe pattern. Each time a new account or a change occurs, the integration polls for changes in the Salesforce source org, publishes the changes to a JMS topic, and each subscriber is then responsible for updating the accounts in the target systems.
The application has two batch jobs consuming the JMS topic, one for migrating the changes to the second Salesforce org and the other for migrating changes to the database. During the Process stage, each Salesforce account is matched with an existing account in the Salesforce org B or the database by name. The last step of the Process stage groups the accounts and creates updates in Salesforce org B.
During the On Complete stage, the template logs output statistics data to the console.
Read more about the publish-subscribe pattern in this blog post.