Silvio127 / gwt-comet

Automatically exported from code.google.com/p/gwt-comet
0 stars 0 forks source link

the send of the first messages does not work #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.client A sends message to client B. message not received by client B
2.client B sends message to client A. message not received by client A
3.client A sends message to client B. message is received by client B
4.client B sends message to client A. message is received by client A

What is the expected output? What do you see instead?
all messages has to be received from the first time. sometimes the messages 
doesn't arrived to the second client.

What version of the product are you using? On what operating system?
gwt-comet-1.2.3 GWT 2.4.0

Please provide any additional information below.
I have my own aplication but it is based on the chat example. first I setup the 
cometsession on the server site and when i receive the success reply, I create 
the comet-client and then I start it.

I am not receiving any exceptions. When Client A sends the message to client B 
for the first time, the sent message arrives to the corresponding queue of the 
cometsession of the clientB.

users.get(userIDofClientB).enqueue(chatMessage);

Original issue reported on code.google.com by e.dao...@gmail.com on 6 Sep 2012 at 10:48