Newer
Older
alarm / WebRoot / WEB-INF / classes / spring / applicationContext-quartz.xml
zhout on 2 Mar 2022 875 bytes first commit
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:task="http://www.springframework.org/schema/task"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
					    http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd">

	<task:annotation-driven executor="targetExecutor" scheduler="targetScheduler"/>

	<task:executor id="targetExecutor" pool-size="5"/>

	<!--
	<task:scheduler id="targetScheduler" pool-size="10"/>
	-->

	<bean id="targetScheduler" class="com.casic.core.spring.ProxyTaskScheduler">
		<property name="enabled" value="${scheduler.enabled}"/>
		<property name="properties" ref="applicationProperties"/>
	</bean>

</beans>