Contact Free trial Login

Java Module Release Notes for Mule 4

Support Category: Select

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)

Fixed Issues

None.

1.2.4

May 30, 2019

Features

None.

Fixed Issues

  • Java module fails to invoke method that receives Optional<Pojo> (MULE-16932)

1.2.3

May 29, 2019

Features

None.

Fixed Issues

  • Java module fails to transform null into an empty Optional. (MULE-16918)

1.2.2

April 26, 2019

Features

None.

Fixed Issues

  • Upgrade Spring to 5.1.6.

  • Upgrade Apache Commons Lang to 3.8.1.

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 and isCausedBy are now available to introspect Throwables.

  • In the extreme case where two parameters have the same simple name, such as some.Pojo and other.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

Minimum Mule Version

Mule 4.1.0

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

Minimum Mule Version

Mule 4.1.0

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

Minimum Mule Version

Mule 4.1.0

Features

  • Fixed an issue that happened when calling static methods from different classes with the same signature.

Fixed Issues

1.0.0

January 23, 2018

Minimum Mule Version

Mule 4.1.0

Was this article helpful?

💙 Thanks for your feedback!

Leave feedback…

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.