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

Extensible ResourceHelper

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              lb Luca Burgazzoli

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment