I have a BizTalk orchestration that uses a file adapter to monitor a directory, pick up a .wav file, rename it, build e-mail body/subject, attach the .wav file and send it to an imaging solution via e-mail and also place a copy of the .wav file in a backup directory. The BizTalk solution works like a charm when manually dropping files into the Receive Location.
The problem is that the .wav files are created through third-party digital recording software that attempts to reopen the file immediately after completing the save, resulting in an error for the end user because BizTalk has already deleted the file from the directory.
I have looked at the possibility of using a convoy, however, since the file is still deleted, there's the chance that it may not be back in place in time for the recording software to reopen it.
Is there any way to delay the file deletion from the Receive Location (i.e. file creation timestamp + 5 minutes)
Thanks!
Cathy