Well.. currently we send all responses through the default rules,
irrespective of whether the original [co-related] request message came
in through to Synapse by way of a proxy service or not.. The proposed
solution will allow proxy services to explicitly state the incoming and
outgoing sequences to be used for mediation. If either of these are
un-specified, it should default to the main rules
asankha
Paul Fremantle wrote:
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]