Nov 23rd, 2011, 11:17 AM
Getting additional HttpRequest information in HTTP inbound gateway & service activato
I am using Spring 3.0.6 and Integration 2.1.0 M3 for my project. at some place in my service activator I need request information like getRemoteAddress() getQueryString() but I am not able to do that using the Spring Expression Language.
I tried debugging the HttpRequestHandlingEndpointSupport which puts the context information and accessors in the object for SPEL use. Only pathVariables, requestParams, HTTPEntity/payload & headers are kept in SPEL context. I was not able to find HttpRequest object in accessors. Do we have this kind of feature in HTTP? if yes how to get this information in Service Activator?
Thanks in advance.
Tags for this Thread