Claus Ibsen created CAMEL-23348:
-----------------------------------

             Summary: 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
             Fix For: 4.x


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)

Reply via email to