You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by apinke <ap...@gmail.com> on 2006/07/04 06:44:52 UTC

Keeping a reference to a Client Message..

What is the correct way to store a reference to a Client MessageExchange ?

As I understand , the Services are "stateless" and all the information
should be  contained in the MessageExchange itself.
In multiple InOut Messages , how does one keep a reference/track of the
original message so that a reply can be sent to it later when the flow is
complete ?

I hope this is making some sense :-)
FOr eg : ServiceA receives a Message from another service ( called Client).
SerivceA in turn creates 2 new InOut  exchanges with other Services and on
their "completion" , should consolidate the results and send the reply back
to the Client.
How does one maintain a reference to this Client in between all these calls
?

We cannot keep it in a class valriable , so how is the reference to the
Client MessageExchange retained ?

Thanks
Pat


-- 
View this message in context: http://www.nabble.com/Keeping-a-reference-to-a-Client-Message..-tf1888012.html#a5161917
Sent from the ServiceMix - User forum at Nabble.com.