Injecting Values
The @Value annotation is used to inject values from property files into your Spring beans.
java @Value("${my.custom.property}") private String myProp;
Spring Boot 0 to Hero: The Complete Java Backend Masterclass
The @Value annotation is used to inject values from property files into your Spring beans.
java @Value("${my.custom.property}") private String myProp;