Exploring different types of configuration files
There are a few types of files that we will come across while developing a Mule application. Each file has its own purpose. The files are as follows:
- Mule configuration file
- Properties file
- Project Object Model – a
pom.xml
file - API Specification file (Open API Specification and RAML)
We already learned about API Specification in Chapter 2, Designing Your API.
Let’s begin by exploring the Mule configuration file.
Mule configuration file
A Mule configuration file is a .xml
file that contains all the information related to Mule flows and connector configurations. Whenever we create a new Mule application project, it creates a Mule configuration file in the /src/main/mule
folder in the Package Explorer. When you open the Mule configuration file, it opens in the editor, where you can see the following three tabs:
- Message Flow
- Global Elements
- Configuration XML
Message...