Here in this unit, we will understand what are the different reprocessing variant. For that first, we need to understand about the Processing. In simple words, Reprocessing is a second time of processing when we get messages failed or pending from the previous integration then we need to reprocess them.
So basically, we have 4 kinds of message processing: #
- Normal message processing synchronous and asynchronous
- The batch which is asynchronous only(Inbound Interface)
- The bulk which is asynchronous only (Inbound Interface)
1. Normal message processing synchronous and asynchronous: #
Normal Processing can be done in two ways “Immediate way” and “Scheduled way”.
Immediate way #
So we can use manual load, Agent, and Pushing messages in a synchronous way directly. This is our API integrate we can do it synchronously can use Soap UI to call Soap API and we will get an empty response if we do it asynchronously.
Scheduled way #
A scheduled way means we can schedule a time when we want to process a message. We are pushing a message now but we want to process it afterward so we can set the time using our scheduler.
2. The batch which is asynchronous only #
In batch processing, we are storing data into an attachment or file then in batch control board we can see data into a basket and basket is linked to the attachment(File where we can see JSON record). Then we have a scheduler for processing and reprocessing of the basket. It processes the basket and then we can see messages in the message monitoring. We can also do it manually we can select baskets as per our choice and can process it manually. We can do it using the scheduler too. Processing the basket and then basket gets failed due to the error then the reprocessing can pick up the basket again and reprocess it again then its a reprocessing of the basket. So there is a difference between reprocessing of basket and reprocessing of the message. To understand the reprocessing of messages check the example which will give a clear view, for example, If we have 5 messages in the basket and 4 of them show a green flag and 1 shows the red flag in message monitoring then it means we need to do message reprocessing not basket reprocessing because the message got failed not basket.
3. The Bulk which is asynchronous only #
In bulk processing, we have a bulk control board where we have a scheduler and even we can do it manually, we can select attachments or file manually. It will pick up a record from the file and processed it, then we can see messages in the message monitoring. Bulk reprocessing is when we are reprocessing an attachment inside bulk inbox and it gets failed then it will be bulk reprocessing. But if we have 5 messages in the basket and 4 of them show a green flag and 1 shows the red flag in message monitoring then it means we need to do message reprocessing not bulk reprocessing because the message got failed not Bulk.