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

Refactor HttpOutboundGateway to mitigate breaking changes due to UriTemplate changes in Spring 3.1

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2 M1
    • Fix Version/s: 2.2 M2
    • Component/s: HTTP Support
    • Labels:
      None

      Description

      The following configuration no longer works with Spring 3.1

      <int-http:outbound-gateway url="{url}" request-channel="someChannelIn" reply-channel="someChannelOut"
      		expected-response-type="java.lang.String" http-method="GET">
      	<int-http:uri-variable name="url" expression="'http://www.google.com/finance/info?q=vmw'"/>
      </int-http:outbound-gateway>
      

      due to the changes that were made to UriTemplate
      After several discussions we decided that this would be too much of a breaking change, so a patch is possible in SI to avoid this.
      We also need to provide a proper support for dynamic URIs via something like a uri-expression attribute or simply allow SpEL Expression in the 'uri' attribute

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: