Pax Jabber Console
The Pax XMPP Console
The XMPP console is an XMPP adapter for the shell of the respective OSGI framework implementation (Felix, KF, Equinox), letting one to use an XMPP transport mechanism to be able to access the console of the underlying OSGi shell. Right now this is only implemented for the Knopflerfish console.
By using XMPP, one can even indicate status using the IJabberService Interface, resulting an a very simple and efficient monitoring system, using standard IM clients as monitoring aggregators, or writing custom monitoring view using Smack or other XMPP client libraries.
Configuration
The system is configured using the OSGi Managed Service system. In the current implementation, Pax Propsloader is used to configure the system (PID=org.ops4j.shell.jabber), resulting in a org.ops4j.shell.jabber.properties like
enabled=true port=5222 host=talk.google.com username=ops4j.pax.shell.1@gmail.com password=OPS4J.PAX servicename=gmail.com message.online=Pax Shell Online message.offline=Pax Shell Offline
Outcome
A sample bundle listing using Equinox with the KF console system:
Showing the online status using GTalk and the HTML client interface:
A sample session with the console system: