Croway opened a new pull request, #1851:
URL: https://github.com/apache/camel-spring-boot/pull/1851

   ## Summary
   
   _Claude Code on behalf of Federico Mariani_
   
   Backport of #1850 to `camel-spring-boot-4.18.x`.
   
   `@ConditionalOnClass(name = "io.undertow.Undertow")` only checks for the 
top-level Undertow class, but the access log configurations use internal 
classes from `io.undertow.server.handlers.accesslog.*`. On JBoss EAP, the 
top-level class is visible (JBoss is built on Undertow) but the modular 
classloader doesn't export all internal packages, causing 
`ClassNotFoundException`.
   
   This is a live bug on 4.18.x where the Undertow code is fully active (unlike 
main where it's commented out).
   
   - Updated 
`ManagementAccessLogConfiguration.UndertowAccessLogCustomizerConfiguration` to 
also check for `AccessLogHandler` and `JBossLoggingAccessLogReceiver`
   - Updated 
`ManagementAccessLogConfiguration.TomcatAccessLogCustomizerConfiguration` to 
also check for `AccessLogValve` (defensive consistency)
   - Updated `UndertowAccessLogConfiguration` to also check for 
`AccessLogHandler` and `JBossLoggingAccessLogReceiver`
   
   ## Test plan
   
   - [ ] CI passes


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