<?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="org.well.well.core.spring.ProxyTaskScheduler">
		<property name="enabled" value="${scheduler.enabled}"/>
		<property name="properties" ref="applicationProperties"/>
	</bean>
	<!--<bean id="applicationProperties" class="org.well.well.core.spring.ApplicationPropertiesFactoryBean"/>-->
</beans>