Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11170

Service Call : add a spi for component to provide a custom expression to build the camel uri

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      As today the service call eip creates the an uri which is compatible with camel-http4 and has the form of component:host:port/path?options but if you want to use a different component like jetty/undertow you need to tweak also how the uri is created using the uri/expression directives as they expect the uri to be in the form component:http://host:port.

      It would be nice if the service call can use a spi/service-loader to provide its own expression so that a user needs to specify the component name only.

        Attachments

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              lb Luca Burgazzoli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: