Create Mule Domain Project in Anypoint Studio

Mule Domain Project in Mule ESB is a project that contains common resources between Mule applications, meaning that applications can reuse the Mule Component defined in the Mule Domain Project. In this tutorial, I will guide you how to create a Mule Domain Project in Anypoint Studio.

Go to File, select New and then Mule Domain Project:

Create Mule Domain Project in Anypoint Studio

In this window, in the Project Name box, enter your project name. By default, the Domain Name field will automatically generate the name of the domain you want to create. You can edit this domain name if you want.

Then, you click Use Maven and edit the information of Maven as Group Id, Artifact Id or Version if you want.

Create Mule Domain Project in Anypoint Studio

Click the Next button to continue.

Create Mule Domain Project in Anypoint Studio

Click Next.

Create Mule Domain Project in Anypoint Studio

Now click Finish to complete creating a Mule Domain Project.

Result:

Create Mule Domain Project in Anypoint Studio

In the project we just created, you will see it has a file called mule-domain-config.xml with the following content:

This is the file that will contain the common resources that we will use in many of these Mule applications.

 

Add Comment