2014-04-30 23:53:27 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
|
|
|
BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
|
|
|
|
2018-11-13 23:19:35 +08:00
|
|
|
Copyright (c) 2018 BigBlueButton Inc. and by respective authors (see below).
|
2014-04-30 23:53:27 +08:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the
|
|
|
|
terms of the GNU Lesser General Public License as published by the Free Software
|
|
|
|
Foundation; either version 3.0 of the License, or (at your option) any later
|
|
|
|
version.
|
|
|
|
|
|
|
|
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public License along
|
|
|
|
with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2018-11-15 03:18:12 +08:00
|
|
|
-->
|
2014-04-30 23:53:27 +08:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
|
|
|
http://www.springframework.org/schema/util
|
|
|
|
http://www.springframework.org/schema/util/spring-util-2.0.xsd
|
|
|
|
">
|
2015-08-21 04:44:40 +08:00
|
|
|
|
2018-11-13 23:19:35 +08:00
|
|
|
<bean id="redisStorageService"
|
|
|
|
class="org.bigbluebutton.common2.redis.RedisStorageService"
|
|
|
|
init-method="start" destroy-method="stop">
|
|
|
|
<property name="host" value="${redisHost}" />
|
|
|
|
<property name="port" value="${redisPort}" />
|
2019-04-05 05:38:53 +08:00
|
|
|
<property name="password" value="${redisPassword}" />
|
2018-11-21 20:53:40 +08:00
|
|
|
<property name="clientName" value="BbbWeb" />
|
2018-11-13 23:19:35 +08:00
|
|
|
</bean>
|
|
|
|
|
2018-11-07 01:54:27 +08:00
|
|
|
<bean id="redisMessageHandler"
|
|
|
|
class="org.bigbluebutton.api.messaging.ReceivedMessageHandler"
|
|
|
|
init-method="start" destroy-method="stop">
|
|
|
|
</bean>
|
|
|
|
|
2018-11-13 23:19:35 +08:00
|
|
|
<bean id="redisMessageDistributor"
|
|
|
|
class="org.bigbluebutton.api.messaging.MessageDistributor">
|
2018-11-07 01:54:27 +08:00
|
|
|
<property name="messageHandler">
|
|
|
|
<ref local="redisMessageHandler" />
|
|
|
|
</property>
|
|
|
|
<property name="messageListeners">
|
|
|
|
<set>
|
|
|
|
<ref bean="meetingService" />
|
|
|
|
<ref bean="keepAliveService" />
|
|
|
|
</set>
|
|
|
|
</property>
|
|
|
|
</bean>
|
2014-04-30 23:53:27 +08:00
|
|
|
</beans>
|