powered by Jive Software

Performing custom operations on messages

Hi all!

I’m new to xmpp and openfire.

I’d like to save messages written by users to database depending on the message (for example messages longer than 100 characters, to table A, shorter messages to table B). Is it possible with openfire? If so, how do that?

Thanks in advance,


Hi Marek,

Openfire itself does not support this. Anyhow you can write a plugin, similar to the Monitoring Service, which does what you want.

There’s a plugin dev guide somewhere. See also Openfire SVN + Eclipse 3.3 + Subversive Installation Guide.