AnsweredAssumed Answered

In Spark plugin,how to monitor and receive the message which is broadcasted by openfire?

Question asked by libin8115 on Dec 7, 2009
Latest reply on Dec 15, 2009 by Konstantin

     Now I want to develop a spark plugin to monitor and receive the message which is broadcasted by openfire, this plugin can show the message to user. The openfire send the message by the follow way:

                             Message message = new Message();
                             message.setTo(session.getAddress());
                             message.setFrom(serverAddress);
                             message.setSubject("Message i=of Current Shot");
                             message.setBody(DataBaseManager.getShotInfo());
                             router.route(message);
     So who can tell me the spark plugin how to monitor and receive the message? Thanks!

Outcomes