Hi, I'm using camel 2.3 and I couldn't find a way to enable the "markerFile" lock strategy for a FTP endpoint. In the docs it's written that "changed" and "fileLock" are not available but nothing about "markerFile".
In the source code I found (in GenericFileProcessStrategyFactory, from line 79): if (ObjectHelper.isNotEmpty(readLock)) { if ("none".equals(readLock) || "false".equals(readLock)) { return null; } else if ("rename".equals(readLock)) { GenericFileRenameExclusiveReadLockStrategy<T> readLockStrategy = new GenericFileRenameExclusiveReadLockStrategy<T>(); Long timeout = (Long) params.get("readLockTimeout"); if (timeout != null) { readLockStrategy.setTimeout(timeout); } return readLockStrategy; } } Which seams to imply that only "rename" is supported? (From what I understand "markerFile" only works when it's the default of the endpoint and cannot be set if it isn't.) Is this correct ? Is there a reason for this or can I patch this to use the strategy anyway? -- View this message in context: http://old.nabble.com/FTP-endpoint-markerFile-tp28738325p28738325.html Sent from the Camel - Users mailing list archive at Nabble.com.