Posted: Fri May 07, 2010 10:48 pm Post subject: FileInput node archival delay problem
Master
Joined: 14 Nov 2008 Posts: 203 Location: charlotte,NC, USA
I have a flow (name - FILE READER FLOW) that will read a file from a local directory and then in addition of archiving the file it will also create a meta data file in the archive directory. The flow then send a message to a queue (ENTRY.IN).
Another flow (ENTRY FLOW) will pick the message from ENTRY.IN queue and then move the archived file and the meta data file to some remote location.
The problem here is that sometimes ENTRY FLOW processes the message, that FILE READER FLOW has sent, before the FILE READER FLOW could archive the file to the archive directory, which results in "file not found error"
As a solution i can put delay in my ENTRY FLOW but has anyone tackle this problem and can suggested some readymade solution.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum