This is my first question on the list and I'm a total newbie on Synapse. If the question doesn't make sense, please let me know!
I'm wondering if the following use case can be implemented using Synapse: I have a performance test environment where multiple test clients can send/receive SOAP requests to/from a single server machine. The test scenario is like this: Client1 sends an "Open Order" SOAP request to Server. Server sends async reply to Client1. Server sends a SOAP request to Client1. Client1 sends async reply to the Server. Server sends an "Order Finished" SOAP request to Client1. The client requests are replied to asynchronously by the server. Each request spawns multiple exchanges between client and server that can be tied to the original request through an element of the message payload (the order id). Each async reply should be sent only to the client that originally sent the request. What I think I need is some sort of session context that is created when the order is sent and destroyed when the order is eventually closed. There I can store the endpoint URL of the client and route the messages accordingly. I thought about creating a Java class to serve as some sort of session context. Am I thinking right? Is this doable with Synapse without a large amount of Java code? Any help will be greatly appreciated! Thanks, Luiz
