Commit in servicemix/base/src/main/java/org/servicemix/components/util on MAIN
PollingComponentSupport.java+2-21.1 -> 1.2
avoid system.out logging when shutting down the JCA container before the polling component threads

servicemix/base/src/main/java/org/servicemix/components/util
PollingComponentSupport.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- PollingComponentSupport.java	18 Jul 2005 10:50:31 -0000	1.1
+++ PollingComponentSupport.java	2 Aug 2005 13:44:26 -0000	1.2
@@ -32,7 +32,7 @@
  * An implementation inheritence class for a component which
  * polls some resource at periodic intervals to decide if there is an event to process.
  *
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
  */
 public abstract class PollingComponentSupport extends ComponentSupport implements Work {
     private static final Log log = LogFactory.getLog(PollingComponentSupport.class);
@@ -123,7 +123,7 @@
                     // the threads are setup correctly when we actually do stuff
                     getWorkManager().scheduleWork(PollingComponentSupport.this);
                 }
-                catch (WorkException e) {
+                catch (Throwable e) {
                     log.error("Failed to schedule work: " + e, e);
                 }
 
CVSspam 0.2.8



Reply via email to