Spring Boot Configuration Properties

This commit is contained in:
Umesh Awasthi
2020-02-17 22:32:25 -08:00
parent 920a9fc8c7
commit d64e63450b

View File

@@ -23,7 +23,8 @@ public class DefaultWelcomeService {
/*public void DefaultWelcomeService(@Value("${javadevjournal.init.secret.key}") String secretKey, @Value("${javadevjournal.max.login.retry}") int retry, @Value("${javadevjournal.enable.guest.checkout}") boolean enableGuestCheckout){
this.secretKey = secretKey;
LOG.info("@Value annotation is working for our secret key {}",secretKey);
} */
}
*/
public String getGreetingMessage(){
LOG.info("Welcome newKeys {} ", newKeys);