[
https://issues.apache.org/jira/browse/CAMEL-23102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062156#comment-18062156
]
Aurélien Pupier edited comment on CAMEL-23102 at 3/2/26 2:16 PM:
-----------------------------------------------------------------
it broke langchain4j tokenizer:
{noformat}
Failed to create route: route5 at: >>>
org.apache.camel.model.TokenizerDefinition@56681eaf <<< in route:
Route(route5)[From[direct:start] -> [org.apache.camel.model.... because: No
META-INF/services/org/apache/camel/tokenizer/langChain4jWordTokenizer service
could be found in the classpath. Add langChain4jWordTokenizer to classpath.
{noformat}
https://ci-builds.apache.org/job/Camel/job/Camel%20Core%20(Build%20and%20test)/job/main/1689/testReport/org.apache.camel.component.langchain4j.tokenizer/
was (Author: apupier):
it broke langchain4j:
{noformat}
Failed to create route: route5 at: >>>
org.apache.camel.model.TokenizerDefinition@56681eaf <<< in route:
Route(route5)[From[direct:start] -> [org.apache.camel.model.... because: No
META-INF/services/org/apache/camel/tokenizer/langChain4jWordTokenizer service
could be found in the classpath. Add langChain4jWordTokenizer to classpath.
{noformat}
> camel-jbang - Automatic keep up to date list of Camel FactoryFinder as known
> dependencies
> -----------------------------------------------------------------------------------------
>
> Key: CAMEL-23102
> URL: https://issues.apache.org/jira/browse/CAMEL-23102
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.19.0
>
>
> We add these manually
> {code:java}
> META-INF/services/org/apache/camel/oauth-client-authentication-factory =
> camel:oauth
> META-INF/services/org/apache/camel/restapi/openapi = camel:openapi-java
> META-INF/services/org/apache/camel/modelxml-dumper = camel:xml-io
> META-INF/services/org/apache/camel/modelyaml-dumper = camel:yaml-io
> META-INF/services/org/apache/camel/micrometer-prometheus =
> camel:micrometer-prometheus
> META-INF/services/org/apache/camel/cron/cron-service = camel:quartz
> META-INF/services/org/apache/camel/platform-http/jolokia =
> camel:camel-platform-http-jolokia
> META-INF/services/org/apache/camel/jandex-class-resolver = camel:jandex
> META-INF/services/org/apache/camel/groovy-script-compiler = camel:groovy
> {code}
>
> We can make a tool that during build discovers all these from Camel itself
> and put in a file for camel-jbang (should be another file, so we can have
> current as manual update for well known JARs)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)