Authored by zhengyouwei

task

@@ -23,6 +23,11 @@ @@ -23,6 +23,11 @@
23 <!-- 支持异步方法执行 --> 23 <!-- 支持异步方法执行 -->
24 <task:annotation-driven /> 24 <task:annotation-driven />
25 25
  26 + <!-- Enables the Spring Task @Scheduled programming model -->
  27 + <task:executor id="executor" pool-size="50"/>
  28 + <task:scheduler id="scheduler" pool-size="50"/>
  29 + <task:annotation-driven executor="executor" scheduler="scheduler"/>
  30 +
26 <mvc:annotation-driven> 31 <mvc:annotation-driven>
27 <mvc:message-converters> 32 <mvc:message-converters>
28 <ref bean="stringConverter" /> 33 <ref bean="stringConverter" />