servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccust...@apache.org
Subject svn commit: r749199 - /servicemix/smx4/kernel/trunk/filemonitor/src/main/java/org/apache/servicemix/kernel/filemonitor/FileMonitor.java
Date Mon, 02 Mar 2009 05:56:32 GMT
Author: ccustine
Date: Mon Mar  2 05:56:32 2009
New Revision: 749199

URL: http://svn.apache.org/viewvc?rev=749199&view=rev
Log:
SMX4KNL-215 - Don't attempt to stop fragments in filemonitor

Modified:
    servicemix/smx4/kernel/trunk/filemonitor/src/main/java/org/apache/servicemix/kernel/filemonitor/FileMonitor.java

Modified: servicemix/smx4/kernel/trunk/filemonitor/src/main/java/org/apache/servicemix/kernel/filemonitor/FileMonitor.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/filemonitor/src/main/java/org/apache/servicemix/kernel/filemonitor/FileMonitor.java?rev=749199&r1=749198&r2=749199&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/filemonitor/src/main/java/org/apache/servicemix/kernel/filemonitor/FileMonitor.java
(original)
+++ servicemix/smx4/kernel/trunk/filemonitor/src/main/java/org/apache/servicemix/kernel/filemonitor/FileMonitor.java
Mon Mar  2 05:56:32 2009
@@ -397,7 +397,9 @@
         if (bundle == null) {
             LOGGER.warn("Could not find Bundle for file: " + file.getCanonicalPath());
         } else {
-            bundle.stop();
+            if (!isBundleFragment(bundle)) {
+                bundle.stop();
+            }
             bundle.uninstall();
         }
     }



Mime
View raw message