I have this code but I dont want the fixedRate
flag to be hardcoded to 20000. Is it possible to put the 20000 in a property file and read that value inside my @Scheduled
annotation?
@CacheEvict(allEntries = true, value = "fooResponse")
@Scheduled(fixedRate = 20000)
public void reportCacheEvict() {
logger.debug("Doing Stuff on a fixed rate Schedule");
}