2009-06-03 06:35:22 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-01-19 07:24:35 +08:00
|
|
|
<!--
|
|
|
|
|
|
|
|
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/>.
|
|
|
|
|
|
|
|
-->
|
2009-06-03 06:35:22 +08:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2009-09-29 05:31:23 +08:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2011-12-13 07:18:52 +08:00
|
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
2009-09-29 05:31:23 +08:00
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
2011-12-13 07:18:52 +08:00
|
|
|
http://www.springframework.org/schema/util
|
|
|
|
http://www.springframework.org/schema/util/spring-util-2.0.xsd
|
2011-06-11 03:29:11 +08:00
|
|
|
">
|
2011-06-24 02:04:00 +08:00
|
|
|
|
2011-12-13 07:18:52 +08:00
|
|
|
<bean id="config" class="org.bigbluebutton.api.messaging.GenericObjectPoolConfigWrapper">
|
|
|
|
<!-- Action to take when trying to acquire a connection and all connections are taken -->
|
|
|
|
<property name="whenExhaustedAction">
|
|
|
|
<!-- Fail-fast behaviour, we don't like to keep the kids waiting -->
|
|
|
|
<util:constant static-field="org.apache.commons.pool.impl.GenericObjectPool.WHEN_EXHAUSTED_FAIL" />
|
|
|
|
<!-- Default behaviour, block the caller until a resource becomes available -->
|
|
|
|
<!--<util:constant static-field="org.apache.commons.pool.impl.GenericObjectPool.WHEN_EXHAUSTED_BLOCK" />-->
|
|
|
|
</property>
|
|
|
|
<!-- Maximum active connections to Redis instance -->
|
|
|
|
<property name="maxActive" value="12" />
|
|
|
|
<!-- Number of connections to Redis that just sit there and do nothing -->
|
|
|
|
<property name="maxIdle" value="6" />
|
|
|
|
<!-- Minimum number of idle connections to Redis - these can be seen as always open and ready to serve -->
|
|
|
|
<property name="minIdle" value="1" />
|
|
|
|
<!-- Tests whether connection is dead when connection retrieval method is called -->
|
|
|
|
<property name="testOnBorrow" value="true" />
|
|
|
|
<!-- Tests whether connection is dead when returning a connection to the pool -->
|
|
|
|
<property name="testOnReturn" value="true" />
|
|
|
|
<!-- Tests whether connections are dead during idle periods -->
|
|
|
|
<property name="testWhileIdle" value="true" />
|
|
|
|
<!-- Maximum number of connections to test in each idle check -->
|
|
|
|
<property name="numTestsPerEvictionRun" value="12" />
|
|
|
|
<!-- Idle connection checking period -->
|
|
|
|
<property name="timeBetweenEvictionRunsMillis" value="60000" />
|
|
|
|
<!-- Maximum time, in milliseconds, to wait for a resource when exausted action is set to WHEN_EXAUSTED_BLOCK -->
|
|
|
|
<property name="maxWait" value="5000" />
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="messagingService" class="org.bigbluebutton.api.messaging.RedisMessagingService">
|
2011-06-24 02:04:00 +08:00
|
|
|
<property name="redisPool" ref="redisPool"/>
|
2011-06-22 02:16:37 +08:00
|
|
|
</bean>
|
2011-06-09 09:35:24 +08:00
|
|
|
|
2011-06-24 02:04:00 +08:00
|
|
|
<bean id="redisPool" class="redis.clients.jedis.JedisPool">
|
2011-12-13 07:18:52 +08:00
|
|
|
<constructor-arg index="0">
|
|
|
|
<bean factory-bean="config" factory-method="getConfig" />
|
|
|
|
</constructor-arg>
|
|
|
|
<constructor-arg index="1" value="${redisHost}"/>
|
|
|
|
<constructor-arg index="2" value="${redisPort}"/>
|
2011-06-24 02:04:00 +08:00
|
|
|
</bean>
|
2011-07-24 04:53:34 +08:00
|
|
|
|
|
|
|
<bean id="expiredMeetingCleanupTimerTask" class="org.bigbluebutton.web.services.ExpiredMeetingCleanupTimerTask"/>
|
2013-06-25 06:33:39 +08:00
|
|
|
|
|
|
|
<bean id="keepAliveService" class="org.bigbluebutton.web.services.KeepAliveService" init-method="start">
|
2013-06-26 07:26:49 +08:00
|
|
|
<property name="runEvery" value="${checkBBBServerEvery}"/>
|
2013-06-25 06:33:39 +08:00
|
|
|
<property name="messagingService" ref="messagingService" />
|
|
|
|
</bean>
|
2011-06-24 02:04:00 +08:00
|
|
|
|
|
|
|
<bean id="meetingService" class="org.bigbluebutton.api.MeetingService">
|
|
|
|
<property name="defaultMeetingExpireDuration" value="${defaultMeetingExpireDuration}"/>
|
2011-07-23 23:13:29 +08:00
|
|
|
<property name="defaultMeetingCreateJoinDuration" value="${defaultMeetingCreateJoinDuration}"/>
|
2011-07-20 04:03:36 +08:00
|
|
|
<property name="removeMeetingWhenEnded" value="${removeMeetingWhenEnded}"/>
|
2011-07-24 04:53:34 +08:00
|
|
|
<property name="expiredMeetingCleanupTimerTask" ref="expiredMeetingCleanupTimerTask"/>
|
2013-06-25 06:33:39 +08:00
|
|
|
<property name="keepAliveService" ref="keepAliveService"/>
|
2011-06-16 22:46:59 +08:00
|
|
|
<property name="messagingService" ref="messagingService"/>
|
2011-06-24 02:04:00 +08:00
|
|
|
<property name="recordingService" ref="recordingService"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="recordingServiceHelper" class="org.bigbluebutton.api.RecordingServiceHelperImp"/>
|
|
|
|
|
|
|
|
<bean id="recordingService" class="org.bigbluebutton.api.RecordingService" >
|
|
|
|
<property name="recordingStatusDir" value="${recordStatusDir}"/>
|
|
|
|
<property name="publishedDir" value="${publishedDir}"/>
|
|
|
|
<property name="unpublishedDir" value="${unpublishedDir}"/>
|
|
|
|
<property name="recordingServiceHelper" ref="recordingServiceHelper"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="paramsProcessorUtil" class="org.bigbluebutton.api.ParamsProcessorUtil">
|
|
|
|
<property name="apiVersion" value="${apiVersion}"/>
|
|
|
|
<property name="serviceEnabled" value="${serviceEnabled}"/>
|
|
|
|
<property name="securitySalt" value="${securitySalt}"/>
|
|
|
|
<property name="defaultMaxUsers" value="${defaultMaxUsers}"/>
|
|
|
|
<property name="defaultWelcomeMessage" value="${defaultWelcomeMessage}"/>
|
2013-03-14 03:01:14 +08:00
|
|
|
<property name="defaultWelcomeMessageFooter" value="${defaultWelcomeMessageFooter}"/>
|
2011-06-24 02:04:00 +08:00
|
|
|
<property name="defaultDialAccessNumber" value="${defaultDialAccessNumber}"/>
|
|
|
|
<property name="testVoiceBridge" value="${testVoiceBridge}"/>
|
|
|
|
<property name="testConferenceMock" value="${testConferenceMock}"/>
|
|
|
|
<property name="defaultLogoutUrl" value="${bigbluebutton.web.logoutURL}"/>
|
|
|
|
<property name="defaultServerUrl" value="${bigbluebutton.web.serverURL}"/>
|
|
|
|
<property name="defaultNumDigitsForTelVoice" value="${defaultNumDigitsForTelVoice}"/>
|
|
|
|
<property name="defaultClientUrl" value="${defaultClientUrl}"/>
|
|
|
|
<property name="defaultMeetingDuration" value="${defaultMeetingDuration}"/>
|
2012-03-30 00:26:10 +08:00
|
|
|
<property name="disableRecordingDefault" value="${disableRecordingDefault}"/>
|
2012-12-02 18:57:58 +08:00
|
|
|
<property name="defaultAvatarURL" value="${defaultAvatarURL}"/>
|
2012-12-09 08:23:33 +08:00
|
|
|
<property name="defaultConfigURL" value="${defaultConfigURL}"/>
|
2011-06-24 02:04:00 +08:00
|
|
|
</bean>
|
|
|
|
|
|
|
|
<import resource="doc-conversion.xml" />
|
2009-04-02 00:53:45 +08:00
|
|
|
</beans>
|