Thanks. For reference this is how it can be done (for Jetty at least, but probs most others too) using a simple expression:

simple("${header.CamelHttpServletRequest?.remoteAddr}")

Tim

On 29/01/2015 16:56, Claus Ibsen wrote:
Hi

Depending on which component you use, you can get access to its native
type, such as HttpRequest, and use that to get the caller ip, just as
you would have to do if you use the components without rest-dsl.

On Thu, Jan 29, 2015 at 5:41 PM, Tim Dudgeon <[email protected]> wrote:
When using REST DSL with jetty/restlet/etc is it possible to know the
caller's IP address?
I can't see any header property for this.

Tim



Reply via email to