jamesnetherton commented on code in PR #4449:
URL: https://github.com/apache/camel-quarkus/pull/4449#discussion_r1090348835
##########
docs/modules/ROOT/pages/user-guide/cdi.adoc:
##########
@@ -178,6 +178,41 @@ public class CamelRoute extends RouteBuilder {
}
----
+As an alternative to `@Named`, you may also use
`io.smallrye.common.annotation.Identifier` to name and identify a bean. Note
that the bean is annotated with `@Unremovable`, since `@Identifier` is not a
bean defining annotation and thus Quarkus may potentially remove the bean if it
considers it unused.
+
Review Comment:
Seems at the moment it's done selectively based on whether extensions expect
`@Identifier`. E.g like the SmallRye reactive streams extensions.
--
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]