Pasquale Congiusti created CAMEL-21917:
------------------------------------------
Summary: [camel-telemetry] Load decorators dynamically
Key: CAMEL-21917
URL: https://issues.apache.org/jira/browse/CAMEL-21917
Project: Camel
Issue Type: Improvement
Affects Versions: 4.x
Reporter: Pasquale Congiusti
Fix For: 4.12.0
The telemetry components are using a service loading mechanism to discover the
decorators available at runtime. However, this mechanism requires the team to
maintain a service file [1] listing all the available classes. It would be more
convenient to have instead a dynamic mechanism to scan all the classes directly
instead.
[1]
https://github.com/apache/camel/blob/d25b31b435d14d826a2e86aafdf05643aeac1e3b/components/camel-opentelemetry/src/main/resources/META-INF/services/org.apache.camel.tracing.SpanDecorator
--
This message was sent by Atlassian Jira
(v8.20.10#820010)