Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1916

Allow HTTP reference binding to accept HTTP method, request URI, query string, etc. dynamically

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: component-http
    • Labels:
      None

      Description

      In order for SY to create a HTTP proxy application using HTTP bindings, this binding need to be more flexible and dynamic on SCA references, i.e. it should accept HTTP requst info such as HTTP method, request URI, query string / query params, etc. and change the request it emits accordingly. Essentially, I expect the binding to be able to do the same things camel-http can do.

      I see the current implementation of the binding rather static – address, method, and contentType have to be specified in configuration and cannot be changed at runtime, so we seem to be forced to use Camel URI binding with camel-http component instead if we need to implement a HTTP proxy on SY.

        Gliffy Diagrams

          Attachments

          1. http-proxy.zip
            6.53 MB
          2. http-proxy.zip
            16 kB

            Issue Links

              Activity

                People

                • Assignee:
                  virchete David virgil naranjo
                  Reporter:
                  tadayosi Tadayoshi Sato
                • Votes:
                  5 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: