|
I saw one weak point in my own proposal.. since we may have *changed*
the "To" field (or any such field for that matter..) of the original
request before we sent it out.. the Send mediator will still not be
able to set a distinguishing property on the response. (i.e. case #1
and #2 both would have the same To field) So how about this.. we use existing constructs and a special MessageContext property as follows: <set-property name="correlate" value="<what you want to use>"/> This special MessageContext property "correlate" would be copied from the request messages' MessageContext into the response messages' MessageContext by the send mediator. Then you would be able to perform a synapse:get-property('correlate') on the response mediation chain to perform the necessary processing. You would also be able to still set the "To", "WSAAction" or any custom value for correlation in this manner... asankha Deepal jayasinghe wrote: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]+1.Asankha C. Perera wrote: |
- Re: Co-relating synchronous response messages for mediat... Asankha C. Perera
- Re: Co-relating synchronous response messages for m... Eran Chinthaka
- Re: Co-relating synchronous response messages f... Paul Fremantle
