Hi, In this blog we'll learn how we can inject configuration properties in a springBoot application and what are the benefits of spring boot over spring while injecting configuration properties. There are two ways to inject our configuration properties:- 1. By Using @Value annotation (Spring 3.0+ And Grails 3.0) 2. Typesafe...
In Grails 2.x and in some earlier versions, the log4j configuration resides in grails-app/conf/Config.groovy. We can modify log4j closure here to add new categories and tweak the log levels. In development environemnt any changes to log4j closure are loaded automatically without bouncing the application, but not when the application is...
In one of the projects, we had to externalize the Config file to be in a properties file. All configurations related to the application were to be stored in that file. We had a few spring beans, like the JMS connection factory, which needs the brokerURL which should ideally be an external configuration as it is will be environment...