You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2021/03/02 10:15:00 UTC

[jira] [Created] (CAMEL-16285) Extensible ResourceHelper

Luca Burgazzoli created CAMEL-16285:
---------------------------------------

             Summary: Extensible ResourceHelper
                 Key: CAMEL-16285
                 URL: https://issues.apache.org/jira/browse/CAMEL-16285
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Luca Burgazzoli
             Fix For: 3.x


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.
  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)