You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/08/20 21:03:27 UTC
svn commit: r433012 -
/incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/quartz/QuartzComponent.java
Author: gnodet
Date: Sun Aug 20 12:03:26 2006
New Revision: 433012
URL: http://svn.apache.org/viewvc?rev=433012&view=rev
Log:
SM-549: QuartzComponent start sending messages when initialized rather than when started
Modified:
incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/quartz/QuartzComponent.java
Modified: incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/quartz/QuartzComponent.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/quartz/QuartzComponent.java?rev=433012&r1=433011&r2=433012&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/quartz/QuartzComponent.java (original)
+++ incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/quartz/QuartzComponent.java Sun Aug 20 12:03:26 2006
@@ -55,7 +55,7 @@
public void start() throws JBIException {
try {
- scheduler.resumeAll();
+ scheduler.start();
super.start();
} catch (SchedulerException e) {
throw new JBIException(e);
@@ -65,7 +65,7 @@
public void stop() throws JBIException {
try {
super.stop();
- scheduler.pauseAll();
+ scheduler.standby();
} catch (SchedulerException e) {
throw new JBIException(e);
}
@@ -174,8 +174,6 @@
factory = new StdSchedulerFactory();
}
scheduler = factory.getScheduler();
- scheduler.pauseAll();
- scheduler.start();
}
}
catch (SchedulerException e) {