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

Add support for URL Expression for Http Outbound adapter/gateway

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2 M1
    • Fix Version/s: 2.2 M2
    • Component/s: None
    • Labels:
      None

      Description

      Based on the changes that are described in INT-2569 (which is actually a mitigation to avoid breaking change and not really a recommended way of doing things) we need to provide this attribute to formally support ability to provide URL dynamically
      For example:
      Instead of

      <int-http:outbound-gateway url="{url}" request-channel="vmwChannel" reply-channel="replyChannel"
      					expected-response-type="java.lang.String" http-method="GET">
      	<int-http:uri-variable name="url" expression="payload" encode="false"/>
      </int-http:outbound-gateway>

      we'f have something like

      <int-http:outbound-gateway url-expression="payload" request-channel="vmwChannel" reply-channel="replyChannel"
      					expected-response-type="java.lang.String" http-method="GET"/>

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: