Em seg., 15 de abr. de 2024 às 14:21, Vladislav Krejcirik <vkrejci...@gmail.com> escreveu: > > I’m building Kamel K integration where I’m using Native build due to sparing > some Kubernetes resources. I’m using VS Code and RH extension pack for Camel. > It seems like I need to tag all my classes with @RegisterForReflection. When > I do that, I’m having unresolved dependency - > io.quarkus.runtime.annotations.RegisterForReflection. Since the project is > not managed by either Maven or Gradle, what is the good practice for > including Quarkus .jar files for design time?
Your code only needs RegisterForReflection annotation if your custom classes do reflection, see https://camel.apache.org/camel-quarkus/3.8.x/user-guide/native-mode.html#reflection Otherwise there is no need for the annotation. For in depth doc about the extension development in camel, see https://camel.apache.org/camel-quarkus/3.8.x/contributor-guide/create-new-extension.html -- Claudio Miranda clau...@claudius.com.br http://www.claudius.com.br