Hi all:
I just started testing SI, and never worked with any other Spring modules before. First, my congratulations to the developers, I'm normally very suspicious about everything that has "framework" on it's name (they tend to be bloated, over-complex and tend to hide things that shouldn't be hidden). Until now I didn't find any of these pitfalls with SI.
Until now (one day and a half!) my tests went very well and I'm about to recommend the use of SI over other similar "frameworks".
The only thing I didn't catch in my tests until now is the way to do "synchronous messages", or at least to force a process to wait for a response to a previous sent message.
Basically, what I have now is a "adapter" (http for now, i.e. a servlet, to be extended to other adaptor protocols), that invoke a "resource" that dispatch messages to "services" that finally put some "responses" back in a queue.
All this is working ok asynchronously, but now I wanted a way for my servlet to wait for the "service" response.
What's the best way to do this?
Thanks for your help.



Reply With Quote