Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2254

Detect if the payload is already a message in HttpRequestHandlingEndpointSupport

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.0.6, 2.1 RC1
    • Component/s: Async HTTP Support
    • Labels:
      None

      Description

      The HttpRequestHandlingEndpointSupport does not detect if the payload received in the HTTP request body is an instance of Message<?>. This will be the case when the client sent the message using the SerializingHttpMessageConverter. The HttpRequestHandlingEndpointSupport will correctly used the SerializingHttpMessageConverter to read the HTTP request, but then attempts to convert that into a message using a MessageBuilder. It should just use the message as is, perhaps with an option to merge HTTP headers with the message headers.

        Attachments

          Activity

            People

            • Assignee:
              oleg.zhurakousky@springsource.com Oleg Zhurakousky
              Reporter:
              dlaidlaw Don Laidlaw
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: