28 lines
1.5 KiB
XML
28 lines
1.5 KiB
XML
<?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> |