synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: Supporting WS RM 1.1 for synapse.
Date Wed, 13 May 2009 05:06:41 GMT
Hi Ruwan/Amila
> These control operations that the synapse transport is referring to is 
> mostly RM related control messages, so as far as RM works without an 
> issue, I am OK with this change.
>
> Asankha WDYT?
Sorry, I have been busy with some stuff lately.. If the only change 
required is the couple of lines Amila mentioned, I am ok with this

thanks
asankha
>
>
>     Currently nhttp worker (ServerWorker.java 206) has the following
>     logic
>
>     if (msgContext != null &&
>                 msgContext.getOperationContext() != null &&
>                
>     !msgContext.getOperationContext().getAxisOperation().isControlOperation()))
>     {
>
>            // send 202 accepted if other criterias also matched
>     }
>
>     ....
>     Is it possible to change this logic as follows,
>
>     if (msgContext != null &&
>                 msgContext.getOperationContext() != null &&
>                
>     (!msgContext.getOperationContext().getAxisOperation().isControlOperation()
>     ||
>                 
>     msgContext.isPropertyTrue(NhttpConstants.FORCE_SC_ACCEPTED))) {
>
>            // send 202 accepted if other criterias also matched
>     }
>
-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com





Mime
View raw message