I haven’t done this but here’s what pours out of my mind at midnight…
In the directory parse tps you could limit the FTP get to only one file at a time and put that file name into a global variable. Then in the IB data TPS put the contents of the global variable into either the driver control or userdata metadata fields.
It can be done by making a shared queue of filenames.
Filenames are put in the queue during directory parse, then they are removed from the queue and put in each respective file-message’s metadata in the inbound proc. If you really want to, you can even convert your file data into a message format that holds the filename as well and then route that across sites. (Something like xml, mime, tar, simple prefixed header.)
I’ve seen this done by using a plain old text file for the queue; for integrity, access to the queue file was synchronized using flock.
Author
Replies
Viewing 1 reply thread
The forum ‘Cloverleaf’ is closed to new topics and replies.