I would like to move some files to a time-stamped directory after I transfer them using WMQ-FTE. I am running v7.0.4.1.
My problem is that there are always new files being written to the directory I am transferring out of, so just blindly transferring everything is not the way. I also batch up the transfer triggers as they happen in batches of about 1000, so only one transfer occurs per 1000 files to be transferred.
I was hoping there would be some metadata that contained a list of the paths of the files transferred so I could move them to a directory before or after the transfer happens. The directory creation would be part of a pre or post source call.
Take a look at the
DestinationTransferEndExit.javaAPI documentation. In particular, look at thefileResultsparameter. An ANT task can use this parameter to perform actions on specific files.