servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r793850 - /servicemix/components/bindings/servicemix-vfs/trunk/src/main/java/org/apache/servicemix/vfs/VFSPollingEndpoint.java
Date Tue, 14 Jul 2009 10:55:17 GMT
Author: lhein
Date: Tue Jul 14 10:55:16 2009
New Revision: 793850

URL: http://svn.apache.org/viewvc?rev=793850&view=rev
Log:
if a file can't be locked it will be removed from the working set
(see SMXCOMP-588)

Modified:
    servicemix/components/bindings/servicemix-vfs/trunk/src/main/java/org/apache/servicemix/vfs/VFSPollingEndpoint.java

Modified: servicemix/components/bindings/servicemix-vfs/trunk/src/main/java/org/apache/servicemix/vfs/VFSPollingEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-vfs/trunk/src/main/java/org/apache/servicemix/vfs/VFSPollingEndpoint.java?rev=793850&r1=793849&r2=793850&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-vfs/trunk/src/main/java/org/apache/servicemix/vfs/VFSPollingEndpoint.java
(original)
+++ servicemix/components/bindings/servicemix-vfs/trunk/src/main/java/org/apache/servicemix/vfs/VFSPollingEndpoint.java
Tue Jul 14 10:55:16 2009
@@ -297,6 +297,7 @@
                     if (lock.tryLock()) {
                         processFileNow(aFile);
                     } else {
+                    	workingSet.remove(aFile);
                         if (logger.isDebugEnabled()) {
                             logger.debug("Unable to acquire lock on " + aFile.getName().getURI());
                         }



Mime
View raw message