Friday, April 2, 2010

StreamingAMF and Messaging

Hi,

When my messaging adapter pushes down a message through the StreamingAMF channel/endpoint, sometimes the message is lost.?I have put a breakpoint at StreamingAMFEndpoint.streamMessages.?When the message wasn't sent, this function wasn't called neither.?This behavior doesn't occur consistently/systematically:?

- It occurs more often when both the server and the web browser started up running the application for the first time.?

- It occurs more often when the flex client starts to send message at a fast speed.?By fast, I don't mean lightening speed, it is limited to the speed at which a normal human clicks a mouse.?

- It rarely occurs in Debug mode.

I suspect there may be some concurrency issues (i.e. wait/notify).?Anyone has any ideas?

Thanks,

Candy

No comments:

Post a Comment