- Purpose of the Article: To integrate Solace with Salesforce and understand the Solace PubSub+ model
- Intended Audience: Boomi developer , Solace developer
- Tools and Technology: Boomi, Solace, Salesforce
- Keywords: Salesforce, PubSub+,AtomSphere.
This approach involves sending Salesforce objects to a Solace PubSub+ queue and subsequently consuming them as needed. Once the messages are consumed, successful records are sent via email, while unsuccessful records are stored in a database based on a condition.
Steps:
- Establish a Solace account first, then establish a cloud service. For that, click on this website. docs.solace.com.
- For creating the queue in service, go to the manage page and create a queue.
- Now, create a Salesforce account by going to the Salesforce website (https://www.salesforce.com/) and clicking on the “Sign Up” button.
- Open the Boomi AtomSphere Platform and create a process with any name.
- Start with integrating Salesforce. Make the connection and create an operation to get the Opportunity objects.
- Convert the Salesforce XML response into JSON using MapShape.
- Integrate Solace to establish the connection and create an operation. In operation, provide the name of the queue that was specified during the creation of the queue in the Solace platform.
Step 1 to 7
- After publishing the messages to the queue, navigate to the Solace platform and verify whether the queue has been updated or not.
- Create a separate process for consuming the messages from the Solace queue. Once the data has been sent to the queue,
- Same as publishing, create an operation and give the queue name that we want to consume.
- Add a business rule shape for conditioning the messages.
- The records that pass the condition will be sent via mail, and the failed records will be stored in the database.
Steps 8 to 11
Note that in order to run the process with a cloud atom, we need to use Azure Blob Storage instead of MySQL Workbench.”
References :
Author Bio:
Monish Reddy Bonthu
Associate Software Engineer - Enterprise Integration
I am a Boomi Developer and have about 1.5 years of work experience. In MOURI Tech, I have been involved in multiple projects where I have designed and developed different APIs, used different Boomi connectors, and overseen end-to-end development.