Handling Large Messages Using Claim Check Pattern
Prerequisites
You must ensure that you have a Process Orchestration installation including a BPM and an AEX system.
Context
Messaging is a reliable and fast way to transmit information, but if messages contain a large amount of data, this can reduce the efficiency of a system. The Claim Check pattern reduces data volume by filtering the message content. It stores complete message information in a persistent store, from where it can be retrieved later using a unique key. The Claim Check pattern solves the problem of moving large amounts of data across systems.
When a message with a large volume of data arrives, the Claim Check component, generates a unique Claim Check key for the information. The data required for processing in BPM is extracted from the original large message to create a smaller message. The Claim Check key is added to the smaller message. The Claim Check component then stores the large message in a persistent store and assigns it a unique key. BPM processing runs more efficiently using the smaller message and when the complete message is required, the Claim Check key is used to retrieve the data from the store.
In Process Orchestration systems, the unused data of large messages in the memory reduces efficiency. Efficiency improves if the process contains smaller messages as most of the BPM processes require only a limited part of the content of the individual PI messages. Using the Claim Check pattern, you can replace the message content with a Claim Check key, which is used to retrieve the entire message content later. The original message is stored temporarily while the intermediate steps are provided with a smaller message along with a key, which is used to retrieve the original message later for processing.
You use the SAP PI Message Store, which gives you control on the life cycle of the messages stored in a Claim Check scenario. You retrieve messages and change the status of the message. The PI standard delete job automatically deletes the messages that are scheduled for deletion.