AnsweredAssumed Answered

Why when messages comes from broadcast the Global Message Listener is not invoked?

Question asked by Mindaugas on Oct 7, 2011
Latest reply on Oct 12, 2011 by Mindaugas

Spark plugin example code:

ChatManager chatManager = SparkManager.getChatManager();

chatManager.addGlobalMessageListener(listener);

        GlobalMessageListener listener = new GlobalMessageListener() {

 

            @Override

            public void messageSent(ChatRoom room, Message message) {

            }

 

            @Override

            public void messageReceived(ChatRoom room, Message message) {

                 JOptionPane.showMessageDialog(null,"Hi!");

            }

        };

 

 

I need al little help, why "messageReceived" not invoked when comes broadcasted message?

 

With conference or person to person everything works fine.

Outcomes