Troubling to specify dynamic env variable in the model class @Hashkey Redis annotation.
Model:
@RedisHash("${spring.redis.namespace}:Book")public class Book { @Id private String id; private String name;}
My application.properties file:
spring.redis.namespace=local
The resulting key is "${spring.redis.namespace}:Book" instead of local:Book
Could anyone help me with this?