How to Use Java Constructor and Collection in Mule 4

How to Use Java Constructor in Mule 4

Java constructors of any Java class can be called from the mule configuration XML file using the “New” operation of the Java module.

For this tutorial, let’s consider the below Java class which has two constructors, i.e., one default and one constructor that takes input parameters to initiate the class.

CategoriesUncategorized