Hi Eric,

I think Asankha miss the point that I did a fix to this few days back and you can retrieve the HTTP status code from the axis2 message context.

programatically;
Axis2MessageContext axis2smc = (Axis2MessageContext) synCtx;
org.apache.axis2.context.MessageContext axis2MessageCtx = axis2smc.getAxis2MessageContext();
axis2MessageCtx.getProperty(NhttpConstants.HTTP_SC);

or in the configuration you can use the getProperty function to get this as "get-property('$axis2:HTTP_SC')"

So you don't have to report this to Synapse, we do have this already for you to use :-) [even in the build that I have given to you]

Thanks,
Ruwan

Asankha C. Perera wrote:
Hi Eric

thanks for your reply! Having some possiblity to access the HTTP status code is unfortunately critical to our environment

As a Synapse user, as this is critical to your environment, can you file a JIRA marking it as a blocker and explain why it is critical to your environment to go live. I will be happy to make this fix ASAP then

asankha


------------------------------------------------------------------------

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to