Tuesday, January 6, 2015

#367 File Adapter --> use of Trigger File

Simple scenario -

D:\BBB\inTrigger is my directory for incoming orders - 1 order per file.
I do not want to start processing the orders until all have been received.
This will be signaled by the arrival of a file called end.txt.

Here is my composite -







Here is the config of the readOrders adapter -


















I test with 2 input orders ans the end.txt file -
The result is 2 composite instances and 2 orders written -


































No comments: