Hi Shakila, I don't think this will work if some one added the property mediator in IN_FLOW. Also this sets the status to 200 always.
Did you check a scenario where backend sends a status code other than 200 or 500? Please check the code [1] and [2]. Check the method determineHttpStatusCode(). I think fix should go there. Also above will fix for PTT. Same needs to be done for NHTTP as well. [1] https://github.com/wso2/wso2-synapse/blob/master/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/PassThroughTransportUtils.java [2] https://github.com/wso2/wso2-synapse/blob/master/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/SourceResponseFactory.java On Tue, May 19, 2015 at 4:35 PM, Shakila Sivagnanarajah <shak...@wso2.com> wrote: > Hi, > > I have fixed the issue ESBJAVA-3384. Please find the PR [1]. > [1] https://github.com/wso2/wso2-synapse/pull/199 > > Thank you > > -- > Shakila Sivagnanarajah > Associate Software Engineer > Mobile :+94 (0) 770 760240 > shak...@wso2.com > -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev