Getting Started with Maven Wrapper

  • December, 30 2021
  • Manik Magar

How do you help users for installing Apache Maven required to build your maven-based project? In this post, we will see how Maven Wrapper can simplify this task.

Read More

DataWeave 2 playground - Working with multiple Inputs, Vars, Attributes

  • June, 15 2021
  • Manik Magar

DataWeave playground is my favorite tool for creating and trying out DataWeave scripts. It is very handy for writing some quick transformation scripts. Real world scripts will often work with more than one inputs, make use of flow variables, or attributes. Can playground work with such scripts? Let's explore it in this post.

Read More

DataWeave 2 - Nested Data Structure Traversal and enrichment with state

  • April, 18 2021
  • Manik Magar

When a nested data structure is provided, can we traverse and enrich it in dataweave? What if we need to know the state of last transformed record to map next one? Let's check it out in this post.

Read More

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 More

DataWeave 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 More

DataWeave 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 More

Faster 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 More

DataWeave 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 More

Introducing - Mule Flow Diagrams [mulefd]

  • Last Updated - January, 19 2022
  • 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 More

Java 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 More