[Web 2.0][Google][GWave] Google Wave Federation Protocol with Prosody XMPP server

To be “on the wave” I’ve done some experiments with Google Wave Federation Protocol. Other people already made it working with OpenFire (and another OpenFire install) and ejabberd, so I decided to try with Prosody - very easy to install Lua-based XMPP server, I’m enjoing recently. From version 0.4.0 Prosody have support for external components. My experiments was with the current (0.5.0) version.


Like always in the beginning RTFM - "Components in Prosody". For the Wave protocol - no differences from the other manuals - create fedone war, generate certificates, corect the run-server.sh script etc.


For the Prosody XMPP server (/etc/prosody/prosody.cfg.lua):

Host "*"
    ...
    -- External components
    component_ports = { 5275 }
    component_interface = "0.0.0.0"
    ...

-- Google Wave experiments
Component "wave.example.com"
    component_secret = "some_secret"

Restart the Prosody server and execute the run-server.sh (be sure the secret in the Prosody config file and in the run script are the same).


Done. Enjoy.