开发者

Queuing strategy for Flex AMF Remoting requests to a Java server

开发者 https://www.devze.com 2023-02-06 03:06 出处:网络
The Flex Remoting service to a Java server need to do a synchronized task. I need to queue the AMF requests while one is currently in progress and once it\'s done then execute others in FIFO order. I

The Flex Remoting service to a Java server need to do a synchronized task. I need to queue the AMF requests while one is currently in progress and once it's done then execute others in FIFO order. I thought of JMS but the use开发者_运维技巧-case does not require a subscriber/publisher pattern. A simple synchronous queue would suffice. Kindly suggest design & implementation strategies.


Not quite if I understood..why not executing the second request when the result event of the first one is triggered? And so on for the other ones?

0

精彩评论

暂无评论...
验证码 换一张
取 消