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




Reply via email to