Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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.