How to create your first Mule application

Home > Search > How-to
  by

  1. In AnyPoint Studio, select File > New > Mule Project.
  2. Give the project a name, such as MyProject, and select Finish.
  3. Drag the HTTP connector to the canvas.
  4. Search for Set Payload, and drag Set Payload into the canvas, so that the HTTP connector connects to the Set Payload connector.

 

  1. Hightlight the HTTP connector. Under HTTP, click the green plus icon and select OK. Connector Configuration should now display HTTP_Listener_Configuration.
  2. Select Path to *.

 

  1. Select the Set Payload connector, and set value to Hello World.

 

  1. In the top menu, select Run > Run As > Mule Application and select OK. The Console should display the name of your project and a status of DEPLOYED.

 

  1. Navigate to http://localhost:8081, and Hello World should be displayed.

 

  1. Click on the Red Box icon to terminate the project.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments