Is there an option to insert property on interface field? I tried something like this, but it didn't work.
public interface ServicePathsConfig {
@Value("${default-connection-timeout}")
int DEFAULT_CONNECT_TIMEOUT = 1000;
}
I tried to make default setter with @PostConstruct, same result. Any ideas how can I inject property to interface field?