Refactored cron-based "OddEvenDemo" sample for new TaskScheduler interface based on Trigger (and the CronTrigger in particular).

This commit is contained in:
Mark Fisher
2008-09-24 16:35:18 +00:00
parent e0bb87bd2f
commit 86986d5cfb
2 changed files with 1 additions and 12 deletions

View File

@@ -19,7 +19,6 @@
<classpathentry combineaccessrules="false" kind="src" path="/org.springframework.integration.adapter"/>
<classpathentry combineaccessrules="false" kind="src" path="/org.springframework.integration.file"/>
<classpathentry combineaccessrules="false" kind="src" path="/org.springframework.integration.ws"/>
<classpathentry combineaccessrules="false" kind="src" path="/org.springframework.integration.quartz"/>
<classpathentry combineaccessrules="false" kind="src" path="/org.springframework.integration.stream"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@@ -7,7 +7,7 @@
http://www.springframework.org/schema/integration
http://www.springframework.org/schema/integration/spring-integration-1.0.xsd">
<message-bus task-scheduler="quartzTaskScheduler"/>
<message-bus/>
<annotation-driven/>
<channel id="even"/>
@@ -36,14 +36,4 @@
<beans:bean id="evenLogger" class="org.springframework.integration.samples.oddeven.EvenLogger"/>
<beans:bean id="quartzTaskScheduler" class="org.springframework.integration.scheduling.spi.ProviderTaskScheduler">
<beans:constructor-arg>
<beans:bean class="org.springframework.integration.quartz.QuartzScheduleServiceProvider">
<beans:constructor-arg>
<beans:bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"/>
</beans:constructor-arg>
</beans:bean>
</beans:constructor-arg>
</beans:bean>
</beans:beans>