So currently I am reading files with an file inbound adapter (nio locker on) and just log them.
I've tried to attach a file outbound adapter at the tail of the flow, in order to move the files to a new location (/done), but every time I encounter an error because the file is locked.
If I remove the nio-locker flag, everything is OK. Problem here is that I would like to have multiple JVM working on those files, and there is a risk that a file will picked up by two JVMs.
Thanks, Cristi