I have an JMS-based architecture at a customer where I try to fix a transaction flow issue. The basic pattern is a client that fires an async JMS message (with a send() method that instantly returns with a temporary message queue name) and then waits synchronously to receive the answer. The server in this example answers uses this temporary destination for the answer and delivers that message to the client waiting for it. See the sequence diagram:
Now the problem is that the returning call is not 'stitched back' into the receive() method waiting for it. Resulting in a picture like this:
Don't get confused by the blue node on the bottom - that's an 'observed tier'.
I would like to achieve that the messaging box on the lower right dissappears and goes back to the 'Loadgenerator' node where it started.
I wonder if this is actually possible - I could only manage to get this done when the receive() is running in a different thread than the send(). Here I actually try to connect a sub-path of the purepath tree to it's parent path.
Anybody has any idea ?
13 People are following this .