The prjBatch_Recordproject demonstrates the following:
TheFile Adapter polls the input directory periodically. When it sees a specified file, it triggers the Collaboration.
When triggered, the BatchRecord_Create Adapter creates a record with an incrementing number (string), and puts the record into the payload along with the specified record delimiter.
When the payload contains ten records, the payload out using the File Adapter. The payload is published to the BatchRecord_Parse Adapter.
The BatchRecord_Parse Adapter parses the ten records and publishes each record to the File Adapter.
The FileOut Adapter writes the files to a local directory.