• All
  • Mule 4
    •   Back
    • DataWeave 2.0
    • Connectors
    • Files
    • CSV
    •   Back
    • CSV

January 20, 2024

Writing transformation logic is the primary coding aspect in MuleSoft, and Dataweave offers various strategies to implement it. In this tutorial, let’s explore different methods of filtering an payload containing array of objects. Below is the sample product data containing 10 different items, along with various strategies to filter this data based on the category named ‘apparel’. Using filter function Using conditional operator Using if/else condition Using reduce…

January 7, 2024

In this article, I will provide you with a detailed guide on how to efficiently read and write CSV files in Mule 4, covering both scenarios of handling files with and without mule connectors.  Using transform component Using file connector  Below is the sample customer file that I am using for this tutorial   Download Using transform component Let’s explore how to read and write a file using…

January 8, 2024

The intention of this article is to explain how we can connect to a MySQL database with a Java code instead of using Database Connector and by following this method we can use Java code with any Java supported connectors. The reason for writing this article is that, as my organisation’s policy is blocking external urls, I am not able to import any modules from exchange in Anypoint…

January 8, 2024

This article is intended for the audience having knowledge on Mule 4 & DataWeave 2.0 and it explains how to accumulate and modify values using dataweave. Aggregating the values in dataweave is a painful task and here in this blog, I will explain different ways of value aggregation in mule 4. In this tutorial, I am using Anypoint Studio version 7.14.0 on Mac and going to accumulate the…