@RedisClientName can't be applied to parameters and thus named redis clients can't be injected to constructors or producer methods.
/cc @machi1990, @gsmet, @cescoffier
Upon a quick check I realized that it might be the case for the Mongo client too https://github.com/quarkusio/quarkus/blob/5b874da798b14eb3aa53228e4962b3d9a5f37b3d/extensions/mongodb-client/runtime/src/main/java/io/quarkus/mongodb/MongoClientName.java#L30
/cc @geoand @loicmathieu @cescoffier
@machi1990 would you provide a fix, or @geoand ?
If not, can you open an issue for MongoDB ?
@machi1990 would you provide a fix, or @geoand ?
If not, can you open an issue for MongoDB ?
Working on a fix.
Most helpful comment
Working on a fix.