davsclaus commented on pull request #1372: URL: https://github.com/apache/camel-quarkus/pull/1372#issuecomment-645991599
Or maybe have the @Produces annotatatio (or whatever its called in CDI) In Camel you can use @BindToRegistry for this - but in Spring Boot its @Bean or @Produces or what its named. ``` @Produces public LogComponent createMyFancyLogComponent(LogComponent log) { log.setXXXX return log; } We can make it take in itself as argument (if that is possible) where you just get a basic new LogComponent using its no-arg ctr. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org