Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

processMessage not being called

$
0
0

I'm having problems with processMessage.

 

I have two clients, both of which implement MessageListener.

The first client uses connection.getChatManager().addChatListener to register itself as a MessageListener.

The second client then creates a chat with the first client, using connection.getChatManager.createChat() with itself as the MessageListener. 

The second client then sends a message to the first client, which is properly handled by its processMessage method.

The first client can send messages to the second client which are handled by its processMessage method.

 

However, after that when the second client sends another message to the first, processMessage apparently is not being called (I have a System.out.println as the first line in the processmessage method). I can see in the debug window that the message has been received. I know the chat object still exists because the fist client can use it to send messages to the second client.

 

Does anyone have any ideas as to what the problem could be? Searching through the forum I saw a couple posts by people who semed to have similar problems, but the message were years old and didn't have any answers.

 

George


Viewing all articles
Browse latest Browse all 10742

Trending Articles