May 31st, 2012, 07:57 AM
file inbound adapter(filter and renaming files)
I'm seeing an issue,not sure how this can be resolved.
When a number of files are written into a directory and picked up by inbound channel adapter to zipped and ftp'ed ,I see that there are files with size zero bytes and sometimes the zipped files seems to be corrupted.
1.I haven't renamed the files when it is written into directory.Looks like I need to do this before it is picked up by inbound channel adapter to be zipped and ftp'ed.Please correct me if I'm wrong.
2,The other question is do I need to support filter in the inbound channel adapter to do with file writing to have them locked until the file is completely written and closed.
Please guide me.