You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "tmdonalds (via GitHub)" <gi...@apache.org> on 2023/04/18 14:57:27 UTC

[GitHub] [camel-quarkus] tmdonalds opened a new issue, #4798: Camel bean not working with 3.0 for external libraries

tmdonalds opened a new issue, #4798:
URL: https://github.com/apache/camel-quarkus/issues/4798

   I have a custom library that uses jandex to expose Quarkus Beans that are ApplicationScoped. Previous to Quarkus Camel 3.0 I could do the following and it worked with no problem.
   
   ```
   from("direct:doSomething")
   .bean(MyBean.class,"cleanup")
   .end();
   ```
   
   In 3.0, I am getting the following exception, Failed to create route...because No bean could be found in the registry for: myBean. Not sure how to address this. 


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] tmdonalds commented on issue #4798: Camel bean not working with 3.0 for external libraries

Posted by "tmdonalds (via GitHub)" <gi...@apache.org>.
tmdonalds commented on issue #4798:
URL: https://github.com/apache/camel-quarkus/issues/4798#issuecomment-1514483131

   I didn't update the versions. I need to do that. I just realized the jandex version changed to 3.1.1.
   
   https://quarkus.io/version/main/guides/cdi-reference


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zbendhiba commented on issue #4798: Camel bean not working with 3.0 for external libraries

Posted by "zbendhiba (via GitHub)" <gi...@apache.org>.
zbendhiba commented on issue #4798:
URL: https://github.com/apache/camel-quarkus/issues/4798#issuecomment-1514253238

   Hello @tmdonalds Does it happen in both JVM and native mode ?


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] tmdonalds commented on issue #4798: Camel bean not working with 3.0 for external libraries

Posted by "tmdonalds (via GitHub)" <gi...@apache.org>.
tmdonalds commented on issue #4798:
URL: https://github.com/apache/camel-quarkus/issues/4798#issuecomment-1514472079

   > @tmdonalds, have you migrated from `javax.enterprise.context.ApplicationScoped` to `jakarta.enterprise.context.ApplicationScoped`? The upgrade from Jakarta 8 to 9/10 (where many `javax.*` packages were renamed to `jakarta.*`) is the main reason for the major bump in Quarkus and Camel Quarkus versions.
   
   Yes. It wouldn't have compiled otherwise. 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] tmdonalds commented on issue #4798: Camel bean not working with 3.0 for external libraries

Posted by "tmdonalds (via GitHub)" <gi...@apache.org>.
tmdonalds commented on issue #4798:
URL: https://github.com/apache/camel-quarkus/issues/4798#issuecomment-1514471609

   > Hello @tmdonalds Does it happen in both JVM and native mode ?
   
   I only tried JVM mode. 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] ppalaga commented on issue #4798: Camel bean not working with 3.0 for external libraries

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #4798:
URL: https://github.com/apache/camel-quarkus/issues/4798#issuecomment-1514280005

   @tmdonalds, have you migrated from `javax.enterprise.context.ApplicationScoped` to `jakarta.enterprise.context.ApplicationScoped`? The upgrade from Jakarta 8 to 9/10 is the main reason for the major bump in Quarkus and Camel Quarkus versions.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org