jamesnetherton commented on issue #6301: URL: https://github.com/apache/camel-quarkus/issues/6301#issuecomment-2257826582
In theory the same problem could exist for other extensions where you can have multiple named configurations. Like Infinispan, MongoDB etc. Maybe another option would be to check if all of the returned beans have the same priority. If they do, try to resolve the default bean for the type. E.g something like: ``` container.select(type, Default.Literal.INSTANCE); ``` And if that fails, just return `null` and leave it for the user to determine which bean is used in their route. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
