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

Extensible ResourceHelper

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.9.0
    • camel-core
    • None
    • Unknown

    Description

      As today, resolving resources is done using a fixed set of possible schema: file, ref, bean, http, class-path.

      To provide support for additional schemas it is required to implement a custom URL protocol handler but we could make things a little bit easier and more camel-ish by using the service factory mechanism.

      Using the service factory mechanism could also allow to have better control over what scheme are supported as example, we could make the resource loader for http implemented as part of a dedicated artifact and more powerful by having options to configure what location are trusted and what not, etc.

      We can also take advantage of the new Resource interface we have introduced.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: