gus-maurizio commented on issue #1474:
URL: https://github.com/apache/camel-quarkus/issues/1474#issuecomment-657701035


   Just one more question.It seems like the bean used in some examples (pasted 
here below) is compiling fine but cannot be found. Has something changed in CR3 
regarding CDI and injections?
   
   `
   package com.example;
   
   import javax.enterprise.context.ApplicationScoped;
   import javax.inject.Named;
   import io.quarkus.runtime.annotations.RegisterForReflection;
   
   @ApplicationScoped
   @Named("myNamedBean")
   @RegisterForReflection
   public class NamedBean {
       public String hello(String name) {
           return "Hello " + name + " from the NamedBean";
       }
   }
   `


----------------------------------------------------------------
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:
[email protected]


Reply via email to