I need to define Duration value (spring.redis.timeout) by application.properties.
I was trying to use one point defined in Spri
It's possible to use @Value notation with Spring Expression Language
@Value("#{T(java.time.Duration).parse('${spring.redis.timeout}')}") private Duration timeout;