- wire redis pubsub

This commit is contained in:
Richard Alam 2015-05-19 10:21:19 -07:00
parent 4cfe3b5772
commit 0e45080d84
3 changed files with 12 additions and 3 deletions

View File

@ -28,7 +28,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
">
<bean id="chatApplication" class="org.bigbluebutton.conference.service.chat.ChatApplication">
<property name="bigBlueButtonInGW"> <ref bean="bbbInGW"/></property>
<property name="bigBlueButtonInGW"> <ref bean="red5BbbInGW"/></property>
</bean>
<bean id="chat.service" class="org.bigbluebutton.conference.service.chat.ChatService">

View File

@ -54,6 +54,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<ref bean="participantsListener" />
<ref bean="voiceMessageListener" />
<ref bean="whiteboardListener" />
<ref bean="redisPubSubMessageHandler" />
</set>
</property>
</bean>

View File

@ -77,7 +77,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<constructor-arg index="0" ref="bbbGW"/>
<constructor-arg index="1" ref="preuploadedPresentationsUtil"/>
</bean>
<bean id="red5BbbInGW" class="org.bigbluebutton.core.api.Red5BBBInGw">
<property name="messageSender" ref="redisMessageSender"/>
</bean>
<bean id="preuploadedPresentationsUtil" class="org.bigbluebutton.conference.service.presentation.PreuploadedPresentationsUtil">
<property name="bigBlueButtonDirectory" value="${default.BigBlueButtonDirectory}"/>
</bean>
@ -199,7 +203,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<bean id="meetingMessageHandler" class="org.bigbluebutton.conference.meeting.messaging.redis.MeetingMessageHandler">
<property name="bigBlueButtonInGW"> <ref bean="bbbInGW"/></property>
</bean>
<bean id="redisPubSubMessageHandler" class="org.bigbluebutton.conference.service.messaging.redis.RedisPubSubMessageHandler">
<property name="connectionInvokerService"> <ref bean="connInvokerService"/></property>
</bean>
<import resource="bbb-redis-pool.xml"/>