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

[I] Support resolving beans by name and qualifiers [camel-quarkus]

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

   Currently `RuntimeBeanRepository` only supports resolving beans by name:
   
   * Without qualifiers
   * With `@Named`
   * With `@Identifier`
   
   If a bean has some custom qualifiers, then the bean won't be found.
   
   An example of where this is a problem, is when you define multiple AI model configurations with `quarkus-langchain4j`.
   
   Synthetic `ChatLanguageModel` beans are produced, but they have a specific `@ModelName` qualifier. Where the value is the name given to the model configuration.
   
   Thus if you do something like `langchain4j-tools:foo?chatModel=#myModel`, bean resolution fails because the `@ModelName` qualifier is not taken into consideration.


-- 
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


Re: [I] Support resolving beans by name and qualifiers [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #7426: Support resolving beans by name and qualifiers
URL: https://github.com/apache/camel-quarkus/issues/7426


-- 
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