jthomerson
Sep 28th, 2009, 11:29 PM
I just added Spring Integration to an open source web conferencing project (bigbluebutton.org). What I need to accomplish seems very simple, yet my configuration is very verbose. I think that there is probably a much easier (less verbose) way of accomplishing what I need, and I was hoping that an expert here could offer a suggestion or two.
Here's what needs to happen:
1 - gateway method is called, which puts message in channel
2 - message needs to be transformed to string message
3 - message needs to be sent to JMS
Eventually, step number 2 will go away as we'll start actually sending the serialized object over the wire. But for now, we simplify it to a string.
Here are some links to view the code in Fisheye:
Spring Config:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/WEB-INF/bbb-apps.xml?r=trunk#l157
Gateway:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/src/org/bigbluebutton/conference/IConferenceEventListener.groovy?r=trunk
Transformer:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/src/org/bigbluebutton/springintegration/RoomToStringTransformer.groovy?r=trunk
Code that calls the Gateway:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/src/org/bigbluebutton/conference/RoomsManager.groovy?r=trunk#l44
Any suggestions?
Thanks!
Jeremy Thomerson
Here's what needs to happen:
1 - gateway method is called, which puts message in channel
2 - message needs to be transformed to string message
3 - message needs to be sent to JMS
Eventually, step number 2 will go away as we'll start actually sending the serialized object over the wire. But for now, we simplify it to a string.
Here are some links to view the code in Fisheye:
Spring Config:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/WEB-INF/bbb-apps.xml?r=trunk#l157
Gateway:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/src/org/bigbluebutton/conference/IConferenceEventListener.groovy?r=trunk
Transformer:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/src/org/bigbluebutton/springintegration/RoomToStringTransformer.groovy?r=trunk
Code that calls the Gateway:
http://fisheye2.atlassian.com/browse/bigbluebutton/trunk/bigbluebutton-apps/webapps/bigbluebutton/src/org/bigbluebutton/conference/RoomsManager.groovy?r=trunk#l44
Any suggestions?
Thanks!
Jeremy Thomerson