Sounds pretty good to me! I think thats pretty much what we do with responses already?
Paul On 11/6/06, Ruwan Linton <[EMAIL PROTECTED]> wrote:
Hi, Currently we have only one aequence for proxyservices. ie. we can say a proxyservice to go through a sequence when a message recieves to the ProxyServiceMessageReceiver. But when the response is came to the MR it will go thru the main sequence i.e. thru MainMediator. But it is better if we can let the user define an out sequence as well for a particular proxyservice. I thought this can be easily done by setting an outSequence to the ProxyServiceMessageReceiver instance (that we are creating at the serviece build time using buildAxisService method of the ProxyService class) and then; In the ProxyServiceMessageReceiver we can check weather the message is a response or not by checking the synapse MessageContext.isResponse() method and if so we can mediate using the outSequence that we have specified....... Can U please comment on this..... Thanks, Ruwan.
-- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
