You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/01/25 11:24:25 UTC
svn commit: r737495 -
/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileConsumer.java
Author: davsclaus
Date: Sun Jan 25 10:24:25 2009
New Revision: 737495
URL: http://svn.apache.org/viewvc?rev=737495&view=rev
Log:
CAMEL-1241: More improvements to VFS (work in progress).
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileConsumer.java
Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileConsumer.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileConsumer.java?rev=737495&r1=737494&r2=737495&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileConsumer.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/FileConsumer.java Sun Jan 25 10:24:25 2009
@@ -209,8 +209,7 @@
File file, boolean failureHandled) {
if (endpoint.isIdempotent()) {
// only add to idempotent repository if we could process the file
- // use file.getPath as key for the idempotent repository to support files with same name but in different folders
- endpoint.getIdempotentRepository().add(file.getPath());
+ endpoint.getIdempotentRepository().add(file.getName());
}
try {