In this article, we will show you how to use YAML instead of properties file in Spring Boot.. Rabbitmq. We can also change the name and location of file here is details for same.Spring boot provides multiple ways to read or application.yml files: 1. Set the file location to above bean’s locations attribute value. If you have any questions on External Configurations for Spring Boot, please write it in the comments section. can reside anywhere in the classpath of the application. Send Email. -->,