[
https://issues.apache.org/jira/browse/CAMEL-16285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293639#comment-17293639
]
Luca Burgazzoli commented on CAMEL-16285:
-----------------------------------------
Maybe we can introduce a ResourceLoader to use a mechanism similar to the
routes loader but based on the scheme
> 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
> Priority: Minor
> 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)