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

   ## Summary
   
   Follow-up to #1751. Extends the `@AutoConfiguration` adoption from the core 
module to the `components-starter` modules and the code generator.
   
   - **Generator plugin** (`SpringBootAutoConfigurationMojo`): now emits 
`@AutoConfiguration(after=...)` with constructor injection instead of 
`@Configuration(proxyBeanMethods=false)` + `@AutoConfigureAfter` + `@Autowired` 
field injection
   - **30 hand-written auto-configuration classes**: migrated to 
`@AutoConfiguration`, constructor injection, `ObjectProvider` for optional 
dependencies, removed redundant `@Scope(SCOPE_SINGLETON)`
   - **~473 regenerated files**: output of the updated generator
   
   ## Test plan
   
   - [x] Generator plugin builds successfully
   - [x] Regenerated starters (direct, jms) produce correct 
`@AutoConfiguration` output with constructor injection
   - [x] Converter classes correctly left unchanged (`@Configuration`, 
`@Component`)
   - [x] Hand-written starters compile (consul-cluster, resilience4j, aws-xray, 
opentelemetry, direct)
   - [x] Full local build of camel-spring-boot 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