Reputation: 86687
application.properties:
//timeout in ms
timeout = 20000;
@Value("${timeout} / 1000")
private int timeoutInSeconds;
Is it possible to apply some calculations directly on a @Value
attribute?
At least my example does not work this way...
Upvotes: 4
Views: 2237