Hello, I'm trying to find a way to prevent the poller from picking up large files before they're being copied. What I've done so far is having a marshaler in which I check if I can get an exclusive FileLock on the file. Unfortunately, in Windows it doesn't work, I get the exclusive lock on the file, the Windows copying halts.
The other option I've found searching the forum is to have a custom LockManager, in which I check if the file size was modified between two intervals. That's not an acceptable solution for me because that check might be inaccurate (slow network speed, so the size isn't modified, if the interval is too small). Configuration details: ServiceMix 3.2.1 Geronimo Tomcat 2.1.1 JDK 1.5.0_17 Windows XP Thanks. -- View this message in context: http://old.nabble.com/File-poller-with-large-files-tp27819849p27819849.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
