How to use fail function in Mulesoft- Part 1

This blog demonstrates the use of fail function in MuleSoft

How to use fail function in Mulesoft- Part 1

In this blog we will demonstrate use of fail function in Mule 4:

 

Step 1:

Create a Mule Project in Anypoint Studio. Go to File->New->Mule Project

Step 2: 

Name the project appropriately and select the Mule runtime to be used for execution.

 

Step 3:

The new project gets created and by default the control points to a mule configuration file where one can drag & drop different Mule Components to achieve the business requirement.

 

Step 4: 

On the right-hand side there is a component palette where we have different modules and different operations under each module.

 

Step 5:

Drag & drop HTTP Listener on message flow. Double click on http listener component to complete he configuration. The listener component when dropped on message flow inherently becomes part of the mule flow. Mule flow is a core component which helps in orchestrating different mule components.

 

Step 6: 

Click on + button in connector configuration & change the default port 8081 to a different one if it’s already occupied. Click on Ok.

 

Note : Remaining steps will be continued in Part2

https://www.techygeekhub.com/Fail-function-Part%202

What's Your Reaction?

like
1
dislike
0
love
0
funny
0
angry
0
sad
0
wow
0