Java Module Release Notes - Mule 4
2.0.0
June 30, 2025
What’s New
-
Java Module (and its dependencies) are now compilable and compatible only with Java 17.
-
To align with modern development practices and ensure continued compatibility with secure and supported libraries, Java Module is upgraded from Spring 5.x to the latest stable Spring 6.x version (Spring Framework 6.4.6).
For more information about how to upgrade the connector to version 2.0, refer to Upgrading and Migrating Java Module to Version 2.0.
Compatibility
Application/Service | Version |
---|---|
Mule |
4.9.4 and later |
OpenJDK |
17 |
1.2.14
March 21, 2025
Compatibility
Application/Service | Version |
---|---|
Mule |
4.1.1 and later |
OpenJDK |
8, 11, and 17 |
Fixed Issues
Issue Resolution | ID |
---|---|
Java Module now contains patched Spring 5.x to fix security vulnerabilities. |
W-17918454 |
1.2.13
March 25, 2024
Compatibility
Application/Service | Version |
---|---|
Mule |
4.1.1 and later |
OpenJDK |
8, 11, and 17 |
Fixed Issues
Issue Resolution | ID |
---|---|
The spring-core library is upgraded to version 5.3.33 to address reported security vulnerabilities. |
W-15194448 |
1.2.12
December 12, 2023
What’s New
-
This connector is now compatible with Java 17.
Compatibility
Application/Service | Version |
---|---|
Mule |
4.1.1 and later |
OpenJDK |
8, 11, and 17 |
1.2.11
June 21, 2023
Compatibility
Application/Service | Version |
---|---|
Mule |
4.1.1 and later |
Fixed Issues
Issue Resolution | ID |
---|---|
The spring-core library is upgraded to version 5.3.28 to address reported security vulnerabilities. |
W-13622235 |
1.2.10
June 28, 2022
What’s New
-
Upgraded versions of dependencies.
Compatibility
Application/Service |
Version |
Mule |
4.1.1 and later |
1.2.9
August 17, 2021
What’s New
-
Optimized the connector to improve its overall stability and performance. (JM-35)
Compatibility
Application/Service |
Version |
Mule |
4.1.1 and later |
1.2.8
April 8, 2021
Fixed Issues
-
Removed dependencies included in the Mule runtime engine to avoid warning messages during startup (JM-34)
1.2.6
December 9, 2019
Fixed Issues
-
Wrong OutputType for a method that returns a java.lang.Object type. (JM-14)
-
MUnit tests for metadata validation. (MU-1529)
-
Upgrade mule-extensions-parent, mule-core-modules-parent and mule-ee-core-modules-parent to 1.1.6. (MULE-17121)
-
Upgrade MUnit version to 2.2.1. (MULE-17301)
1.2.5
August 14, 2019
Features
-
Change execution pool to CPU_LITE for new instance operations. (MULE-17326)
-
Change execution pool to IO for invoke operations. (MULE-17329)
1.2.4
May 30, 2019
Fixed Issues
-
Java module fails to invoke method that receives Optional<Pojo> (MULE-16932)
1.2.3
May 29, 2019
Fixed Issues
-
Java module fails to transform null into an empty Optional. (MULE-16918)
1.2.1
January 14, 2019
Features
-
Fixed an issue with invoking a method from a class that implements an interface with generics. This would produce a warning that there were multiple methods found that match the provided method.
Fixed Issues
-
JavaModule: no longer throws WARN messages with Generic interface implementation. (MULE-16316)
1.2.0
September 6, 2018
Features
-
It’s now possible to configure the Output MimeType of the Invoke and Invoke Static Operations.
-
Improved error handling, the connector used to not show the real error that occurred when executing Java methods.
-
New functions
getRootCause
andisCausedBy
are now available to introspect Throwables. -
In the extreme case where two parameters have the same simple name, such as
some.Pojo
andother.Pojo
the full qualifier name can be used to avoid issues.
Fixed Issues
-
JavaModule: Support output MimeType parameter for runtime inference. (MULE-15283)
-
Java Module: Improve Error cause propagation. (MULE-15540)
-
Java Module: does not propagate execution error. (MULE-15262)
-
Java Module invokeStatic declares an error that is never thrown. (MULE-15461)
-
JavaModule: Support full qualifier name for parameter types to identify methods. (MULE-15009)
-
Migrate JavaModule tests to MTF. (MULE-15076)
-
Java Module: improve method not found error message. (MULE-15263)
-
Java Module: 'new' operation does not declare INVOCATION error. (MULE-15538)
-
Java Module: Fail to extract exception cause with default value. (MULE-15597)
1.1.2
August 14, 2019
Features
-
Provide proper classloading error information. (MULE-14938)
-
Improve error messages and exception propagation. (MULE-15263)
-
Change execution pool to CPU_LITE for new instance operations. (MULE-17326)
-
Change execution pool to IO for invoke operations. (MULE-17329)
Fixed Issues
-
InvokeStatic declares an error that is never thrown. (MULE-15461)
1.1.1
May 11, 2018
Features
-
Fixed an issue that made it impossible to pass null as a parameter.
-
Now when the arguments are passed by with their canonical name (arg0, arg1, etc.), parameter matching will be done by position.
Fixed Issues
-
JavaModule: Do best effort to do invocation with arg0, arg1… (MULE-15008)
-
null values causes Exception in parameterNeedsTransformation. (MULE-14990)
1.1.0
May 7, 2018
Features
-
When argument types don’t match the java function arguments, a best effort will be done to transform these arguments.
Fixed Issues
-
Java module doesn’t transform the arguments. (MULE-14861)
1.0.1
March 23, 2018
Features
-
Fixed an issue that happened when calling static methods from different classes with the same signature.
Fixed Issues
-
Invoke static second call wrong. (MULE-14785)