@Value

In this blog post, you will learn about three different ways to read application properties in the Spring Boot application. Read application.properties using Environment object,  Read a property from application.properties file using @ConfigurationProperties and reading a property using the @Value annotation. To demonstrate how to read application properties in the Spring Boot application, I have created a very…

Read More Reading application.properties in Spring Boot