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?
精彩评论