@Target(value={TYPE,METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @Documented @Qualifier public @interface RedisClientName
application.properties:
quarkus.redis.client1.hosts=localhost:6379Then to inject the proper
redisClient, you would need to use RedisClientName like indicated below:
@Inject
@RedisClientName("client1")
RedisClient client;
public abstract String value
Copyright © 2021 JBoss by Red Hat. All rights reserved.