Announcement Announcement Module
Collapse
No announcement yet.
Getting additional HttpRequest information in HTTP inbound gateway & service activato Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting additional HttpRequest information in HTTP inbound gateway & service activato

    Hi,

    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.

    Regards,

    Amit Solankurkar
Working...
X