I am building an application with java 21 and Springboot. I have added the Springcloud config and actuator dependencies. I was wondering if I can use Java records with to refresh the configuration like I do with classes?
@ConfigurationProperties(prefix = "remote.file")
@RefreshScope
public record Fileproperties( String nfsnameing path ) { }
Yes you still can do that with java 21