For Each Loop

For Each Loop   For each is used to perform similar set of activities on same payload of a collection. For each will expect collection as input payload and it will iterate over the collection Point to remember If it’s a Java collection then it will split the payload by default Changes done to a…

Share this:
Read More

Raise Error Manually In Mule 4

Raise Error Manually In Mule 4   In this tutorial we will demonstrate how to Raise Error  Manually In Mule 4 This core component generates a Mule error, as if a failure had occurred, which allows you to customize its description and type. Use this component to only raise: Core runtime errors, such as MULE:SECURITY, MULE:CONNECTIVITY, etc.…

Share this:
Read More

Scatter Gather

Scatter Gather    Scatter Gather in MuleSoft The ScatterGather component executes each route in parallel. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either…

Share this:
Read More

Until Successful

Until Successful    The Until Successful scope processes the components within it until they succeed or exhaust the maximum number of retries. UntilSuccessful runs synchronously. If a component within the scope fails to connect or produce a successful result, Until Successful retries the failed task until all configured retries are exhausted. If a retry succeeds,…

Share this:
Read More

Cache Scope

Cache Scope   As the name suggests Cache scope is used to store or cache the result for frequently used request. Imagine a Product API GET method which can accept product # and provide product detail in response. API can fetch the product information from external Data Source which can be DB, File or any…

Share this:
Read More

Async Scope

Async Scope   The Async scope is a branch processing block that executes simultaneously with the main flow. The main flow continues to execute while it initiates and processes the Async processing. The flow does not have to pause until the last message processor embedded in the asynchronous flow has completed its task. Async can…

Share this:
Read More