Remote Capture Batch Message Processing

The following elements comprise a complete remote capture batch:
  • Open Batch message
  • One or more Transaction messages
  • One or more Item messages
  • Close Batch Message
Each message in the batch has a sequence number. The Open Batch message has sequence number 1. Transaction and Item messages contain sequence numbers in the appropriate order for assembling them within the batch. The Close Batch message contains a sequence number that is the sum of all records in the batch.

Messages might not be received in order. As messages arrive they are inserted into the database. Gateway Server determines how many records are expected from the open and close batch messages. After all messages are received in the database for the remote capture batch, Gateway Server builds a file to be processed. This file contains records in the sequential order that corresponds to their message sequence numbers.