Announcement Announcement Module
Collapse
No announcement yet.
RequestMapper in Spring 2.0? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RequestMapper in Spring 2.0?

    In SI 1.0.4, I successfully implemented HttpInboundEndpoint with a custom 'requestMapper'. However, I am not finding the same in HttpRequestHandlingMessagingGateway in SI 2.0.M7. Could somebody shed light on its implementation in 2.0? Any help with examples would be great.

    Thanks in advance.

  • #2
    I should restate my question. Which jar contains HttpInboundEndpoint class?

    Comment


    • #3
      Yes, in 2.0 Http module underwent major refactoring to use Spring 3.0 REST support, so you can now implement HttpMessageConverter and inject it via 'message-converter' property.

      Comment


      • #4
        Hi Oleg,
        I need to do some tracking for every request that i send using http:outbound gateway.

        The above explanation helps as i was endlessly looking for HttpOutboundEndpoint class in 2.x SI.
        I read the RestTemplate and i am using CommonsClientHttpRequestFactory to do my requests.

        Is there a way i can inject a ResponseExtractor into my http gateway to return a message or an Object to the reply channel?
        The message/Object should contain both the request and the http response code.

        Thanks
        again.
        sri

        Originally posted by oleg.zhurakousky View Post
        Yes, in 2.0 Http module underwent major refactoring to use Spring 3.0 REST support, so you can now implement HttpMessageConverter and inject it via 'message-converter' property.

        Comment

        Working...
        X