Please help me on editing monitoring service plugin. I am working on the strophe with openfire web based application. For storing chat history i am using monitoring.jar. While sending message to receiptant message is not storing into mysql db "ofMessageArchive" table immediately. It is storing cached messages ever 40-60 secs. Instead of 40-60 seconds i want to store messages immediately. Please help me on this. I am not java developer.
you need to recompile plugin with new value current scheduler runs at every 60 seconds.
You can also modify server code and can write storing script to in message router method all the messages are sending from there only you can check your crieteria and can store.