We are receiving data files from mainframes which are not locked as they grow or are being transferred. To signal completion of the file transfer, the mainframe writes out a trigger file (signalling its done).
Naming convention is <filename>.dat and <filename>.trg
How can I use a messaging only solution for picking up the data file With 2 receive ports, the first one has the file mask set to <filename>.trg. Once it find the trigger file, we can be sure the <filename>.dat has stopped growing and ready for pick up. So bascially the first receive port should trigger the second one.
Its an interesting challenge to wire up messaging only solution with no Orchestrations for this