DataWeave 2 - Finding Quarter of the Year
- February, 22 2021
- Manik Magar
We often do date manipulations in DataWeave. What if we need to find quarter of the year for a given date? What if quarters start at February? How to do it in DataWeave? Let's explore it in this post.
Read MoreDataWeave 2 - Transform with flattened keys
- February, 17 2021
- Manik Magar
What if you have a map of flattened keys like `address.firstName` and need to transform hierarchical data set using that? Can you do that mapping in DataWeave 2? Can this be done with tail-recursion and reusable way? Let's explore it in this post.
Read MoreDataWeave 2 - Generate Fibonacci sequence
- February, 05 2021
- Manik Magar
In this post, we will see how to generate a Fibonacci sequence using DataWeave 2.
Read MoreFaster Feedback with Java, JBang, and TextMate
- August, 08 2020
- Manik Magar
In previous post "Using Java for scripting, with Jbang", we learned about JBang - a new way of writing scripts with Java. In this post, we will see how we can improve on compile-and-run feedbacks using TextMate editor.
Read MoreDataWeave 2 - JSON Writer Properties
- June, 26 2020
- Manik Magar
In this post, we will look at DataWeave's JSON Writer properties. DataWeave 2 is a powerful transformation language. It allows your to convert data from one format to another. When doing these data transformations, you may want to control how the output is written. Let's learn how you can do that.
Read MoreIntroducing - Mule Flow Diagrams [mulefd]
- Last Updated - October, 04 2020
- Manik Magar
A Mule application can easily have multiple configuration files with number of flows and sub-flows that are spread across those files. When analyzing such mule applications, it can get difficult to see the complete data processing flow and their connections. Have you ever wished to visualize your flow connections? How does a message pass through your application? ♪┏(・o・)┛♪┗ ( ・o・) ┓♪ Introducing - Mule flow diagrams!
Read MoreJava 14 - Pattern Matching for InstanceOf (Preview)
- March, 22 2020
- Manik Magar
Java release train is running and delivering new java features faster that the past. Java 14 became GA on March 17, 2020 with some new features. In this post, we will look at a preview feature introduced with Java 14 - Pattern Matching for InstanceOf.
Read MoreUsing Java for scripting, with Jbang
- January, 22 2020
- Manik Magar
Want to use Java for scripting? Meet - j'bang! A new tool in the wild that makes it easy to use your java code as a script. I have used a custom bash script for writing a cloudflare DDNS update. In this post, we will explore if we can use a java class to do that.
Read MoreDataWeave 2.2: Compare lists using Arrays module
- September, 29 2019
- Manik Magar
Mule Runtime 4.2 was released with DataWeave 2.2 version. Lots of new useful functions are added in Arrays module. In this post, we will see how can we compare two arraylists to find matched and unmatched objects.
Read MoreDataWeave 2.2 and Apache Avro
- June, 09 2019
- Manik Magar
Mule Runtime 4.2 was released with DataWeave 2.2 version. This adds support for Content (De)Serialization with Apache Avro. In this post, we will take a test drive of DataWeave 2.2 with Apache Avro.
Read MoreSearch
Get updates by Email:
Lives on Java Planet, Walks on Java Streets, Read/Writes in Java, JCP member, Jakarta EE enthusiast, MuleSoft Integration Architect, MuleSoft Community Ambassador, Open Source Contributor and Supporter, also writes at Unit Testers, A Family man!


