Mule 4.0: New Java Module

In one of my previous posts, I described Java Component and entry point resolvers as a way to invoke Java Code in Mule 3.x. In this article, I will focus on a completely new approach in Mule 4. Mule presents a brand new Java Module capable of creating new instances, invoking methods on those instances, and invoking static methods. Although you can invoke Java using DataWeave 2.0 and Groovy scripting you are losing additional metadata (DataSense). So let’s walk through some sample applications.

Java Module Overview

Mule 4 has replaced the Mule Expression Language with DataWeave 2.0. As DataWeave 1.0 had not allowed developers to easily call Java classes, Java Module has been introduced. Java Module has the following message processors: https://goo.gl/KiRPT7 #DataIntegration #ML

Subscribe To Newsletter

Sign up for my newsletter and get the latest technology news

2019 © Craig Brown PhD. All rights reserved.