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 […]
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 […]
Overview: – What is DataWeave: – Why do we need to externalize: – How to externalize: – Steps:
Introduction You can use the following operators within any DataWeave expression: do A “do” statement allows you to create a specific area where you can declare and use new variables, functions, annotations, or namespaces. It is structured like a map, with a header and a body separated by —. The header is where you define […]
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 […]
Google Sheet Module (MuleSoft) Prerequisites: We need to have an active Google account and we need to make use of Google APIs to leverage the Google Sheet module provided by MuleSoft. To do so we need to follow the following steps: First we need to go to the Google API console using the URL https://console.cloud.google.com/apis/library. […]
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 […]
In this blog, we will discuss how can we configure alerts in Anypoint platform. We can configure alerts in the API manager and Runtime manager. Alerts configuration in Runtime Manager: First, we will go through the configuration of alerts in Runtime Manager. Step 1: Log in to your Anypoint platform https://anypoint.mulesoft.com Step 2: Click […]
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 […]