You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "goelshek@yahoo.com" <go...@yahoo.com> on 2011/01/03 20:58:22 UTC

Re: Extracting request IP in Camel CXF

I am using camel-core-2.5.0.jar, camel-cxf-2.5.0.jar and cxf-api-2.2.11.jar.

I am now able to get the remoteAddress using the Request.getRemoteAddress()
method. Earlier I was making the mistake of looking at the "_remoteAddress"
variable using my debugger instead of actually invoking the method
getRemoteAddress(). When I looked into the source code of
getRemoteAddress(), I noticed that if "_remoteAddress" was null,
_endp.getRemoteAddress() was being invoked.
-- 
View this message in context: http://camel.465427.n5.nabble.com/Extracting-request-IP-in-Camel-CXF-tp3308148p3326187.html
Sent from the Camel - Users mailing list archive at Nabble.com.