camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Narrell <matt.narr...@gmail.com>
Subject Obtain client IP address from cxfrs:bean
Date Tue, 27 Dec 2011 16:07:41 GMT
Apache Camel 2.8.3
Apache CXF   2.4.3
Spring       3.1.0-RELEASE
JDK	     1.6.0_29

Is there configuration I can add to a cxfrs endpoint that allows access to the HttpRequest
to obtain the client IP address?  Is there some other method to obtain this information?

This seemed possible in older versions of Camel? [1].  
Alternatively, I could use pure CXF/JAX-RS (injecting the MessageContext) and a ProducerTemplate,
but I'd like to use cxfrs:bean if possible.

Thanks,
matt

[1] http://camel.apache.org/how-can-i-get-the-remote-connection-ip-address-from-the-camel-cxf-consumer-.html
Mime
View raw message