retrieve complete endpoint

krishna's picture
Hello, I want the retrieve complete endpoint on which consumer has sent the request to the ESB in some handler or Custom mediator. "MessageContext.getTo()" is giving part of complete endpoint. If consumer has sent the request on "http://localhost:8280/soap/ProxyTest" then "MessageContext.getTo()" is returning only "/soap/ProxyTest" in both handler and mediator... Any idea,how can i get the complete proxy service endpoint and also i don't want to build using CARBON variables or so... Thanks, Krishna
rajika's picture

Krishna, Did you

Krishna, Did you try msgContext.getProperty(NhttpConstants.SERVICE_PREFIX) ? Rajika
krishna's picture

No this is not working in

No this is not working in Handler and Mediator as well.
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)