![messagereprocessing1-4.png](https://quantinsightsnetwork.com/wp-content/uploads/2023/10/messagereprocessing1-4-678x348.png)
Hey Learners, In this blog let’s see how to build an Automated Message Reprocessing Flow using a Data Store. This scenario helps when Integration Flow fails due to the unavailability of the target system or some connectivity issues.
Objective:
This blog explains how the data is stored in the data store and retriggers the data to the target system without manual intervention.
What is a Data Store?
As the name itself indicates it is the collection of operations that allows to store and receive messages into/from the database.
It supports 4 types of operations:
Write: The write operation is used to store the messages temporarily in the data store.
Get: The get operation is used to fetch a specific message from the data store.
Select: The Select operation is used to fetch the bulk of messages from the data store.
Delete: The Delete operation is used to trigger the deletion of messages in the data store.
Integration Flow Details:
Description: In this Integration Flow we are creating the data store in the exception subprocess so that if the Iflow fails due to some exception/connectivity issues, the Retry Iflow (Integration Process) will be retriggered. It will capture the incoming data in the Write Data Store and delete the same data once it is re-processed successfully.
Steps:
- Capture the incoming payload in the property tab with the help of the content modifier.
- Create an exception subprocess add a content modifier and call the payload which is stored in the main integration process in the message body.
- Create a data store by using the palette option “Write” and provide the required details.
- Now create the Integration process and replicate the same.
- Add the timer to reprocess.
- Call the data store which is created using the select data store step. Now the stored data will be used and re-processed successfully.
Output:
The Data Store was created.
Retry Iflow got triggered successfully.
Conclusion:
Hope this blog is helpful and informative. If you have any other further queries, please feel free to drop a comment below.
Thank you,
Mounika Namineni.
Be the first to comment