[
https://issues.apache.org/jira/browse/CAMEL-23348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-23348.
---------------------------------
Resolution: Fixed
> camel-jbang - Custom plugins cannot use JDK ServiceLoader
> ---------------------------------------------------------
>
> Key: CAMEL-23348
> URL: https://issues.apache.org/jira/browse/CAMEL-23348
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.20.0
>
>
> When a custom plugin uses ServiceLoader such as Tamboui then it fails
>
> ServiceLoader<S> sl = ServiceLoader.load(service);
>
> This requires adding the needed JAR directy to camel-jbang-core as dependency.
> But maybe we can make this work for custom plugins but it may be harder due
> to the JDK service loader and how to influence its class loader.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)