Default blog style

Home Blog

Until Successful

UNTIL SUCCESSFUL   The Until Successful scope processes the components within it until they succeed or exhaust the maximum number of retries. Until Successful runs synchronously. Until Successful component Configure of Until-Successful- Max Retries:- Specifies the maximum number of retries that...

Round-Robin

Round Robin This router iterates through all the routes in the router component in a specific order but it only routes to one of the routes each time it is executed. For example, it keeps track of the last route it selected for execution and will not execute the same route again consecutively. Basic...

Scatter-Gather

Scatter-Gather “Scatter-Gather sends the requested data to multiple routes concurrently“. It waits for all the routes to complete the execution and then aggregates the response from each route and forms a Single output message and output will be “application/java” format. &nb...

Choice Router

Choice Choice Router works on the evaluation of the expression i.e., True or False. The Route for which the expression evaluates to be True, that route is executed. It executes routes sequentially i.e. if for both route-1 and route-2 condition expression evaluates to be true, it will execute only ro...

Flow Control in Mule 4

We will see four different Flow control components provided in Mule. We will also cover various use cases. In Mule, Flow Controls , you Route your input Mule Event into one or more  separate flows based on the Flow control components you use. Type of Flow Control component:- 1-Choice 2-Scatter-Gath...

Define Responses in RAML

We will get responses from api or external service . there are two type of responses , we will get . positive response ->success case Negative response ->failure case we have to mention all responses in Raml file.   Step1:- Create a specific folder for “Response” Step2:- Creat...

USAGE OF LIBRARY FRAGMENT

We will explain the usage of library fragment in raml. Library is one of the Raml Fragments. Main advantage of the raml Library is that is can defined multiple types and that can be referred from RAML file. Step1:- Log in to Anypoint platform Step2:- Click on design center and click on Create Fragme...

GENERATE FLOWS FROM RAML

In this tutorial, “we will Generate Flows From RAML Using Manage Dependency, This is one of the easiest way to generate the flow from RAML, in that case raml will be referred from Anypoint Exchange directly and a dependency will be added in POM.xml” Step1:- Create a sample RAML in design...

IMPORT FRAGMENTS IN RAML

In this tutorial, we will demonstrate how can we include fragments in raml api specification. Step1:- In “API SPECIFICATION“, Define how to api will behave and how it communicates with other system & APIs. Create new API specification Step2:- Provide the name of New Api Specifiation ...