MuleSoft

Handling Error Scenarios and Externalizing Input and Assert Expressions in MUnit

Objective: We are going to write test cases for the scenarios where the flow is going to throw errors. The application we are going to test is Database configuration Query Database Postman Request and response Error handler “transform messages” DB:CONNECTIVITY   MULE:ANY Step 1: Select the flow you want to test (“lookup-based-on-customer-name”) then right-click on […]

MuleSoft

A Guide to Batch Processing in MuleSoft

Introduction: Batch Job Lifecycle:It has three phases: –Batch Job has three phases: – 1.Load and dispatch phase 2.Process phase 3.On complete phase 1.Load and dispatch phase: – 2.Process phase: – 3.On complete phase: – Batch Job Components: – Batch Job: – Configuration: – Name: – Batch job name Max Failed Records: – this value defines […]

MuleSoft

Call Java methods with DataWeave

Introduction Given Mule’s foundation on Java and Spring, robust integration capabilities exist for invoking Java methods within Mule. Various methods are available to achieve this, with one effective approach being the utilization of the Java Component. This blog explores this method to call custom Java classes and covers: Invoking a static method on a given […]

MuleSoft

Snowflake Database Configuration In MuleSoft

Snowflake connector configuration In this blog, we will discuss how can we create a developer trail account in Snowflake and create a MuleSoft Snowflake connection configuration. By following below steps: Creating a Snowflake developer account. Configuration of custom database and schema. Configuration of MuleSoft Snowflake connection. Demo on select and insert opeartions Step 1: Creating […]

MuleSoft

Parse Template & Tabular Format

Parse Template is the Mule component to use for processing a template and obtaining a result. A template is defined as text with embedded Mule expressions that are evaluated and replaced with their result. There are some scenarios where we need to use a parse template in the flow. Some of the scenarios are: When […]