By Roytuts · Spring Boot
Introduction In this example I am going to show you how to inherit values from application.properties into different environments. So, if you have an application.properties file under class path folder src/main/resources and if…
By Roytuts · JMS, Kafka, Spring Cloud
Here I am going to build an application to show how to use Spring Cloud Bus. Let’s say you have multiple applications reading properties using Spring Cloud Config…
By Roytuts · Spring Cloud
Introduction This tutorial walks you through the process of consuming the configurations from the Spring cloud config server. So I will setup a config server and build a…
By Roytuts · Spring Core
Sometimes we may need to have some conditional statement in Spring config XML file depending upon some variables value. Think of a situation when you are using JPA…
By Roytuts · Java, Spring Core
With this example I will show you how compound or nested property names work in Spring application. Compound or nested property names are perfectly legal when setting bean…
By Roytuts · Spring Core
With this example I will show you how to inject Collections type Props in Spring applications. This is similar to the element type Map I had shown in…