61 lines
2.6 KiB
XML
61 lines
2.6 KiB
XML
<?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="redisMessageSender" class="org.bigbluebutton.api.messaging.redis.MessageSender"
|
|
init-method="start" destroy-method="stop">
|
|
<property name="redisPool"> <ref bean="redisPool"/></property>
|
|
</bean>
|
|
|
|
<bean id="redisMessageReceiver" class="org.bigbluebutton.api.messaging.redis.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.redis.ReceivedMessageHandler"
|
|
init-method="start" destroy-method="stop">
|
|
<property name="messageDistributor"><ref bean="redisMessageDistributor" /></property>
|
|
</bean>
|
|
|
|
<bean id="redisMessageDistributor" class="org.bigbluebutton.api.messaging.redis.MessageDistributor">
|
|
<property name="messageHandler"> <ref local="redisMessageHandler"/> </property>
|
|
<property name="messageListeners">
|
|
<set>
|
|
<ref bean="presentationMessageListener" />
|
|
<ref bean="chatMessageListener" />
|
|
<ref bean="meetingMessageHandler" />
|
|
<ref bean="pollMessageHandler" />
|
|
<ref bean="participantsListener" />
|
|
</set>
|
|
</property>
|
|
</bean>
|
|
|
|
</beans>
|