Hello Claus Ibsen
Thank you so much for your reply sir :)

I have looked into reslet documentation and I found out they have the client
info, 
They have 'Request' class which got a method getClientInfo() returns an
object of type 'ClientInfo' and 'ClientInfo' class has got a method
'getAddress()' which returns clients ip address.

so it should look like 

request.getClientInfo().getAddress(); (which should return the clients ip
address)

Here we go for their(reslet) api spec(find the getClientInfo() method)
http://restlet.org/learn/javadocs/2.1/jse/api/org/restlet/Request.html

Find the  getAddress() method
http://restlet.org/learn/javadocs/2.1/jse/api/org/restlet/data/ClientInfo.html

Thanks in advance 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Retrieve-Caller-Ip-Address-Camel-Reslet-tp5747272p5747311.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to