Addition of MSRP protocol support in SailFin CAFE
MSRP protocol support has been recently added to SailFin CAFE. This feature is available in the latest sailfin-cafe downloads.
With the MSRP protocol it is now possible to do the following using SailFin CAFE:
- Session mode instant messaging
- Large file transfers.
(more to come in the forthcoming builds)
SailFin CAFE added two new APIs to support MSRP, which are:
- org.glassfish.cafe.api.MSRPConversation
- org.glassfish.cafe.api.MSRPConference
This blog covers how the large file can be tranferred across the attendees when you are in a voice conference. Instead of the plain text, I have created a screencast which covers all the details. Please click here to watch the SCREENCAST (around 30 seconds, sized ~4 MB)
To try it yourself :
- Install SailFin v2 FCS build and install the latest sailfin-cafe on top of it
- Deploy quality-msrptests-test1-1.0-SNAPSHOT.war and follow the screencast to run it.
The deployed quality-msrptests-test1-1.0-SNAPSHOT.war has 2 CAFE communication beans in it. One bean handles the voice conference and the other one handles the msrp.
Wrt screencast, here is the brief description of the beans (quality-msrptests-test1-1.0-SNAPSHOT.war file has the complete source code):
Bean which handles the voice conference:

Bean which handles the MSRP file transfer:

Send your comments to me directly @ bhavanishankar@dev.java.net
| Attachment | Size |
|---|---|
| voice-conf-bean.png | 11.99 KB |
| msrp-conference-bean.png | 17.24 KB |
- Printer-friendly version
- bhavanishankar's blog
- 2400 reads





