init commit.
This commit is contained in:
28
web/src/main/resources/spring/spring-context-msg-task.xml
Normal file
28
web/src/main/resources/spring/spring-context-msg-task.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context" xmlns:task="http://www.springframework.org/schema/task"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd
|
||||
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.1.xsd"
|
||||
default-lazy-init="true">
|
||||
|
||||
<description>Message Task Configuration</description>
|
||||
|
||||
<!-- 本地消息发送服务,如果需要支持定时任务,则要在作业管理里添加该任务 msgLocalSendTask.execute();
|
||||
<bean id="msgLocalSendTask" class="com.jeesite.modules.msg.task.MsgLocalSendTask">
|
||||
<property name="messageService" ref="messageService" />
|
||||
<property name="smsSendService">
|
||||
<bean class="com.jeesite.modules.msg.task.impl.SmsDemoSendService"></bean>
|
||||
</property>
|
||||
<property name="mailSendService">
|
||||
<bean class="com.jeesite.modules.msg.task.impl.EmailSendService"></bean>
|
||||
</property>
|
||||
<property name="weixinSendService">
|
||||
<bean class="com.jeesite.modules.msg.task.impl.WeixinSendService">
|
||||
<property name="weixinService" ref="weixinService"></property>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>-->
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user