I’'ve made some modifications in the OfflineMessageStore class that lets me send a notification to a user (through another medium) when he/she receives an offline message. All I did was add some code to the addMessage() method (right after the private statement execution), easy enough.
The downside of this is that I have to recompile Jive Messenger each time I want to change something. Server-upgrades will probably be hellish as well.
Writing a plugin that will provide the same functionality seems to solve those problems, but I’‘ve got no clue how/where to start. I’‘ve been reading the plugin-dev-guide, but that doesn’‘t really help me. Registering the plugin as a Component doesn’‘t seem to fit here, nor does registering as an IQHandler. As far as I can see, I’'m not writing a PacketInterceptor either. Can someone give me a few pointers? Note that this would be my first plugin - I might just be overlooking the obvious, any help is highly appreciated.