JiriOndrusek opened a new pull request, #24683:
URL: https://github.com/apache/camel/pull/24683

   ## Summary
   
   - `PQCProducer.createMetrics()` directly references `PQCMicrometerMetrics`, 
causing GraalVM native image compilation to fail with `NoClassDefFoundError: 
io/micrometer/core/instrument/Meter` when micrometer is not on the classpath
   - Replace the direct class reference with reflection via 
`CamelContext.getClassResolver()` so GraalVM's static analysis never follows 
the link to micrometer classes
   - The existing runtime classpath guard and catch-all are preserved
   
   ## Test plan
   
   - [x] `mvn install -f components/camel-pqc` passes
   - [ ] Camel Quarkus PQC native integration test passes without adding 
micrometer-core dependency
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to