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

          oleg.zhurakousky@springsource.com Oleg Zhurakousky created issue -
          oleg.zhurakousky@springsource.com Oleg Zhurakousky made changes -
          Field Original Value New Value
          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
          {code}
          <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>
          {code}
          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"/>
          {code}
          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
          {code}
          <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>
          {code}
          we'f have something like
          {code}
          <int-http:outbound-gateway url-expression="payload" request-channel="vmwChannel" reply-channel="replyChannel"
          expected-response-type="java.lang.String" http-method="GET"/>
          {code}
          oleg.zhurakousky@springsource.com Oleg Zhurakousky made changes -
          Link This issue is related to INT-2569 [ INT-2569 ]
          grussell Gary Russell made changes -
          Assignee Oleg Zhurakousky [ [email protected] ] Gary Russell [ grussell ]
          grussell Gary Russell made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          oleg.zhurakousky@springsource.com Oleg Zhurakousky made changes -
          Resolution Complete [ 8 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          grussell Gary Russell made changes -
          Status Resolved [ 5 ] Reopened [ 4 ]
          Resolution Complete [ 8 ]
          grussell Gary Russell made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Complete [ 8 ]
          mark.fisher Mark Fisher made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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: