69 lines
2.9 KiB
XML
Executable File
69 lines
2.9 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
|
|
|
Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
|
|
|
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/>.
|
|
|
|
-->
|
|
<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
|
|
">
|
|
|
|
<bean id="redisStorageService" class="org.bigbluebutton.api.messaging.RedisStorageService">
|
|
<property name="redisPool"> <ref bean="redisPool"/></property>
|
|
</bean>
|
|
|
|
<bean id="messageSender" class="org.bigbluebutton.api.messaging.MessageSender"
|
|
init-method="start" destroy-method="stop">
|
|
<property name="redisPool"> <ref bean="redisPool"/></property>
|
|
</bean>
|
|
|
|
<bean id="redisMessageReceiver" class="org.bigbluebutton.api.messaging.MessageReceiver"
|
|
init-method="start" destroy-method="stop">
|
|
<property name="redisPool"> <ref bean="redisPool"/></property>
|
|
<property name="messageHandler"> <ref local="redisMessageHandler"/> </property>
|
|
</bean>
|
|
|
|
<bean id="redisMessageHandler" class="org.bigbluebutton.api.messaging.ReceivedMessageHandler"
|
|
init-method="start" destroy-method="stop">
|
|
<property name="messageDistributor"><ref bean="redisMessageDistributor" /></property>
|
|
</bean>
|
|
|
|
<bean id="redisMessageDistributor" class="org.bigbluebutton.api.messaging.MessageDistributor">
|
|
<property name="messageHandler"> <ref local="redisMessageHandler"/> </property>
|
|
<property name="messageListeners">
|
|
<set>
|
|
<ref bean="meetingMessageHandler" />
|
|
</set>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="meetingMessageHandler" class="org.bigbluebutton.api.messaging.MeetingMessageHandler">
|
|
<property name="messageListeners">
|
|
<set>
|
|
<ref bean="meetingService" />
|
|
<ref bean="keepAliveService" />
|
|
</set>
|
|
</property>
|
|
</bean>
|
|
|
|
</beans>
|