Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel-Restlet 2.14.0 Client Address from Request

$
0
0
Hi,
I'm trying to log the client address from a request. I set the
useForwardedForHeader option to true on the RestletComponent.

I see that the CamelRestletRequest carries a HttpExchangeCall object that
contains the clientAddress, but that's always null.

CamelRestletResponse carries a HttpExchangeCall object that contains the
serverAddress, but that's always null too.

Appreciate help on this.

Viewing all articles
Browse latest Browse all 5648

Trending Articles