davsclaus commented on code in PR #23868:
URL: https://github.com/apache/camel/pull/23868#discussion_r3380427020
##########
components/camel-opentelemetry2/pom.xml:
##########
@@ -54,10 +54,19 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-telemetry</artifactId>
</dependency>
+ <dependency>
Review Comment:
Acknowledged — the `camel-core-model` dependency is needed for
`RouteBuilder` in `initOtlpReceiver()`, which is gated behind
`isDevConsoleEnabled()` + agent detection. In practice, the coupling only
activates in dev mode with the OTel Java Agent attached. The dependency is
acceptable since it's a Camel-internal module and the alternative (using the
lighter CamelContext route-add API) would require more complex route
construction.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]