Contact Us 1-800-596-4880

Mule Runtime Engine 4.4.0 Release Notes

Mule runtime engine (Mule) is a lightweight integration engine that runs Mule applications and supports domains and policies.

April 2024

Patch release version: 4.4.0-20240408

This patch update addresses the following Mule issues:

Description Issue

Spring is upgraded to 5.3.33.

W-15260752

Using vc:minVersion="1.1" in XSD schema no longer throws NullPointerException in XML SDK connectors.

W-15081363

MUnit tests using tracing module and "Set logging variable" now work as expected.

W-14773408

Template parser validation is now improved.

W-15141905

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

The Excel reader no longer reads furigana characters.

W-14991276

Coercion of the third parameter on the ternary function executor now works as expected.

W-15061008

For guidance with the patching process, see Apply Patch Updates.

March 2024

Patch release version: 4.4.0-20240219

This patch update addresses the following Mule issues:

Description Issue

Performance is now improved for certain For Each scenarios.

W-14678431

HTTP Request Connector no longer throws Connection limit exceeded, cannot process request when maxConnections is set to 1.

W-14686211

Disabling the enableNotifications flag on the On Error Continue component now works as expected.

W-14954677

Multi-step batch jobs can now be correctly resumed and finished after being stopped.

W-14726677

Transactions' timeout is now honored. When a transaction times out, it is rolled back, and an error is thrown that can be handled with error handling. To enable this, activate the mule.tx.error.when.timeout feature flag.

W-14128870

There is no DataWeave update for this version.

For guidance with the patching process, see Apply Patch Updates.

February 2024

Patch 4.4.0-20240215

  • This patch update reverts the fixes for the following issue: W-14809031.

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Performance is now improved when coercing addition and subtraction operations.

W-14927555

For guidance with the patching process, see Apply Patch Updates.

Patch 4.4.0-20240122

Patch release version: 4.4.0-20240122

This patch update addresses the following Mule issues:

Description Issue

Analytics Events and Policy Violations logging are now enabled.

W-14237017

Unapplied policy template deletion on startup is now enabled.

W-14407626

Native library dependencies are correctly loaded.

W-14497761

Fixed a leak when using expressions in parameters in OAuth Client Credentials configurations in connectors.

W-14391247

Timeout is now honored for local transactions.

W-14809031

An extra message field is now added when logging a message variable.

W-14723809

Timeout is now considered for local transactions and rollbacks are silently executed.

W-14608096

An extra message field is no longer added in the logs when logging the message variable.

W-14457630

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Caching now works correctly when coercing for addition and subtraction operations.

W-14591653

do scope declarations with pattern matching now properly reflect variable names when variables are optimized with common subexpression elimination.

W-14514837

For guidance with the patching process, see Apply Patch Updates.

January 2024

Patch 4.4.0-20240118

Patch release version: 4.4.0-20240118

This patch update addresses the following Mule issues:

Description Issue

This patch update reverts the fix.

W-14404918

For guidance with the patching process, see Apply Patch Updates.

Patch 4.4.0-20231211

Patch release version: 4.4.0-20231211

This patch update addresses the following Mule issues:

Description Issue

Hazelcast is upgraded to 5.2.4.

W-14404918

An issue with explicit socket connection timeout for socket creation with the management plane was fixed.

W-14555248

XML SDK no longer fails to replace a complex parameter with a property value.

W-13681772

The nonProxyHosts setting now works correctly for HTTP Connector.

W-14161865

There is no DataWeave update for this version.

For guidance with the patching process, see Apply Patch Updates.

November 2023

Patch 4.4.0-20231110

The November patch update 4.4.0-20231110 addresses a regression in the previous November patch update, 4.4.0-20231026, and includes the fixes in the patch.

Patch release version: 4.4.0-20231110

This patch update addresses the following Mule issues:

Description Issue

This patch update reverts the fix.

W-13681772

For guidance with the patching process, see Apply Patch Updates.

Patch 4.4.0-20231026

Patch release version: 4.4.0-20231026

This patch update addresses the following Mule issues:

Description Issue

The org.bouncycastle.bcprov-jdk15on library is upgraded to 1.74.

W-14351263, W-14347982

The org.json.json library is upgraded to 20231013.

W-14347983

The org.apache.santuario.xmlsec library is upgraded to 2.3.4.

W-14347980

The Error Handler with attribute logException=false no longer logs the exception when using the Scheduler component.

W-13881167

Multiple redeployments of applications linked to a domain project sharing IBM MQ Connector now works as expected.

W-12388528

The Element DSL is now available in the exceptionPayload attribute.

W-14067135

XML SDK no longer fails to replace a complex parameter with a property value.

W-13681772

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

The cached function coercion now works correctly for a second time when an argument is constant.

W-13763138

The DataWeave sum function with a single numeric string arg now returns Number type instead of String.

W-14086694

Reading Avro schema with an array of enum type items no longer returns an error.

W-14252745

Inconsistent XML encoding detection no longer occurs between indexed and in-memory parsers.

W-13805995

For guidance with the patching process, see Apply Patch Updates.

October 2023

Patch release version: 4.4.0-20230918

This patch update addresses the following Mule issues:

Description Issue

OAuth token no longer fails to refresh leaving the source in an inconsistent state.

W-14029065

Parse Template no longer obtains a different output between 4.3.0 to 4.4.0.

W-13588449

Race conditions no longer occur in the Until Successful component when two until-successful elements are executed sequentially.

W-13858445

Log4j is upgraded to 2.20.0.

W-13792545

A memory leak in HTTP Service no longer occurs after a redirection.

W-13754230

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

System property com.mulesoft.dw.xml_writer.declareXmlNamespace has been included to manage adding implicit namespaces like xml in the XML writer.

W-11965399

Temporary files are now closed for inputs bigger than 1.5 MB.

W-13868202

Milliseconds information is now preserved when converting the java.util.Date type.

W-14002706

For guidance with the patching process, see Apply Patch Updates.

September 2023

Patch release version: 4.4.0-20230822

This patch update addresses the following Mule issues:

Description Issue

BouncyCastle is upgraded to version 1.7.

W-13701827

The 'Expect: 100-Continue' header is now ignored in server responses and log warnings.

W-13806048

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

An invalid UUID logical type in Avro module now throws an exception as expected.

W-13943112

For guidance with the patching process, see Apply Patch Updates.

August 2023

Patch release version: 4.4.0-20230724

This patch update addresses the following Mule issues:

Description Issue

Guava is upgraded to version 32.1.1-jre.

W-13701825

There is no DataWeave update for this version.

For guidance with the patching process, see Apply Patch Updates.

July 2023

Patch release version: 4.4.0-20230616

This patch update addresses the following Mule issues:

Description Issue

Kryo is upgraded to version to 4.0.3.

W-13498807

Context has been added to prevent policies' variables from being overridden in parallel scenarios.

W-13509911

Spring is upgraded to version 5.3.27.

W-13206644

Undeploying/redeploying multiple operation policies to the same non-blocking operations no longer fails when processing new events.

W-13563214

The POST request body is no longer sent in a GET redirect.

W-12594415

The java.lang.NullPointerException error no longer appears while refreshing an OAuth token.

W-12975498

OutOfMemoryError no longer appears when Mule applications are redeployed with Mule scripting and Groovy.

W-13038823

JCommander is upgraded to version 1.78.

W-13206643

java.lang.NullPointerException no longer appears when you create a user-defined metadata type.

W-13049851

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Multipart reader performance is enhanced by using the proper input stream implementation.

W-13099773

For guidance with the patching process, see Apply Patch Updates.

June 2023

Patch release version: 4.4.0-20230522

This patch update addresses the following Mule issues:

Description Issue

snakeyaml is upgraded to version 2.0.

W-12354025

jackson-core is upgraded to version 2.15.

W-13014584

StackOverflowError no longer occurs when processing a large map in a batch job.

W-13123339

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Streaming support now works correctly for JSON.

W-11790958

For guidance with the patching process, see Apply Patch Updates.

May 2023

Patch release version: 4.4.0-20230417

This patch update addresses the following Mule issues:

Description Issue

Upgraded org.json:json from 20220924 to 20230227.

W-13012142

Added support for native library dependencies at Mule applications and domains.

W-11855052

Added a new method for CoreServiceClient.

W-12659177

This release displays the policy definition version.

W-12733032

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Closing resources immediately after reading when using text/plain MIME type.

W-12398584

Incorrect trimming of whitespaces no longer occurs when reading XML content.

W-12528980

Fixed splitBy management of large strings so String and Regex options are consistent with each other.

W-12452407

For guidance with the patching process, see Apply Patch Updates.

April 2023

Patch release version: 4.4.0-20230320

This patch update addresses the following Mule issues:

Description Issue

Kryo Serializer now discards the microseconds value from a timestamp during the serialize and deserialize operation.

W-12516135

Second Scatter Gather router does not execute when it has a Try scope for each component that raises an error handler within.

W-10619784

First Successful router hangs with raise-error.

W-12552091

Batch Job no longer shuffles CSV column order in Mule 4.4.

W-12505969

Added Exception reached PS subscriber for error handler error on February 7, 2023 patch.

W-12535932

NullPointerException no longer occurs when adding a null value to the cookie header.

W-12666590

Added Groovy to the default allowed scripting languages for logging.

W-12708905

Scripts in logging configuration files are no longer supported by default.

W-12556954

This release fixes deadlock when redeploying with policies.

W-12622899

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Added cache Java values evaluation to avoid consuming streams more than once.

W-12635909

For guidance with the patching process, see Apply Patch Updates.

March 2023

The March patch update 4.4.0-20230313 addresses a regression in the previous March patch update, 4.4.0-20230217, and includes the fixes in that patch.

Patch 4.4.0-20230313

Patch release version: 4.4.0-20230313

This patch update addresses the following Mule issue:

Description Issue

This patch update reverts the fix.

W-12161504

For guidance with the patching process, see Apply Patch Updates.

Patch 4.4.0-20230217

Patch release version: 4.4.0-20230217

This patch update addresses the following Mule issues:

Description Issue

This release improves the behavior of chained subflows and XA Transactions that can lead to an application deadlock.

W-12128703

This release improves the handling of JDBC resources to prevent memory leaks on the redeployment of apps.

W-12460123

The with-correlation-id scope no longer modifies errors thrown by other components.

W-12439048

XML SDK modules now work as expected when using a raise-error inside of a subflow, which prevents an InitialisationException.

W-12377294

Log4j scripting now supports Nashorn languages by default.

W-12549148

Requests no longer fail with NullPointerException: value with applications referencing a global Error Handler.

W-12535932

The loggingVariables in batch job serialization now works as expected when upgrading Mule runtime version.

W-12411873

This release updates snakeyaml to version 1.33.

W-12429030

This release upgrades org.raml:raml-parser-2 to version 1.0.51.

W-11577522

This release updates org.json:json to version 20220924.

W-12450128

The log level for HTTP response stream was closed before being read but response streams must always be consumed was changed from WARNING to ERROR.

W-12245298

Cookie headers are now correctly aggregated during the redirect mechanism.

W-12161504

Requests no longer fail with NullPointerException with applications using invalid cookies.

W-12528819

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Fixed IndexOutOfBoundsException that occurred when combining the usage of heap memory for internal buffering with a customized buffer size.

W-12247447

For guidance with the patching process, see Apply Patch Updates.

February 2023

The February patch update 4.4.0-20230223 addresses a regression in the previous February patch update, 4.4.0-20230123, and includes the fixes in that patch.

Patch 4.4.0-20230223

Patch release version: 4.4.0-20230223

  • This patch update reverts the fixes for the following issues: W-12245298 and W-12161504.

For guidance with the patching process, see Apply Patch Updates.

Patch 4.4.0-20230123

Patch release version: 4.4.0-20230123

This patch update addresses the following Mule issues:

Description Issue

Applications with an XML SDK connector now deploy correctly.

W-12362157

Concurrency errors no longer occur when a flow is called multiple times using the lookup function.

W-12206167

The Error Handler now returns the Event Id and Processor as expected.

W-12245760

This release upgrades the log4j dependency to version 2.19.

W-12353440

This release upgrades the com.hazelcast:hazelcast dependency to version 3.12.13.

W-12354026

This release upgrades the Jackson Databind library to version 2.13.4.2.

W-12219126

This release upgrades the org.apache.cxf:cxf-core dependency to version 3.5.5.

W-12354008

Cookie headers are now correctly aggregated during the redirect mechanism.

W-12161504

The log level for HTTP response stream was closed before being read but response streams must always be consumed was changed from WARNING to ERROR.

W-12245298

CloudHub applications no longer fail when using Global Error Handlers with a default configuration.

W-12218381

The insecure connection configuration in the TLS Configuration truststore now works as expected.

W-10822938

HTTP API status code 422 now shows the correct reason phrase.

W-12293483

WSC connector with an HTTP Requester configuration no longer fails when using a domain project.

W-12129696

The Error Handler now returns the Event Id and Processor as expected.

W-11983138

Flow reference validations no longer fail when using XML SDK components that declare inner sub-flows during lazy initialization.

W-11681056

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

dw::core::Dates::atBeginningOfWeek now works correctly when the input DateTime is Sunday.

W-11940166

The new com.mulesoft.dw.javaSqlDateToDate system property enables mapping java.sql.Date to Date instead of DateTime.

W-12043162

The Resource already closed exception no longer occurs when using the write function with a value bigger than 1.5MB with Avro format.

W-12067821

Cacheable overloaded functions, such as then, now dispatch to the correct function definition when called multiple times.

W-12073562

The default behavior now works correctly when having a null value coming from the Mule runtime.

W-12166609

High memory usage no longer occurs when using the dw::core::Arrays::divideBy function with an in-memory Array as input.

W-12167313

For guidance with the patching process, see Apply Patch Updates.

January 2023

The January patch update 4.4.0-20230111 addresses a regression in the previous January patch update, 4.4.0-20230102, and includes the fixes in that patch.

Patch 4.4.0-20230111

Patch release version: 4.4.0-20230111

This patch update addresses the following Mule issue:

Description Issue

Change mule.enable.byteBuddy.objectCreation default value to false. If set to true, it will prevent race conditions during parallel deployments.

W-11920598

For guidance with the patching process, see Apply Patch Updates.

Patch 4.4.0-20230102

Patch release version: 4.4.0-20230102

This patch update addresses the following Mule issues:

Description Issue

Race conditions, which can make deployments fail, no longer occur when running parallel deployments.

W-11920598

The Scatter-Gather router no longer throws the exception UnsupportedOperationException when variables are set by Db::prepareArray or Db::prepareStruct.

W-11932094

Distributed locks are now released properly when a policy is disabled.

W-11929632

The error Can’t perform operation on 'Object_store'. ObjectStore not initialized no longer occurs when a redelivery policy that points to an object store is declared as a top level element.

W-11985583

An issue that prevented access to the SecureContext of a policy inside of a Batch component no longer occurs.

W-11493901

Setting a variable with a null value inside a Batch Aggregator component no longer fails with a NullPointerException.

W-11825409

The use of HTTP Insecure mode in a connector no longer fails with a NullPointerException.

W-12049036

Authorization of the OAuth dance no longer hangs when a custom object store uses a Redis cache.

W-11410770

The Idempotent Validation filter now cascades object store exceptions. Using the filter on Mule version 4.4 or earlier requires the property mule.rethrowExceptionsInIdempotentMessageValidator=true.

W-11529823

The XML SDK’s implicit configuration creation is disabled by default.

W-12113550

A fix to IllegalArgumentException handling prevents events from getting stuck in a For Each scope when an expression evaluates to a Map.

W-12234425

This release upgrades JSON to version 20220924.

W-11834878

This release upgrades the Tanuki wrapper version to 3.5.51.

W-12068528

In API Gateway, SLA deletion no longer generates an inconsistent contract status.

W-11898295

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Issue Resolution ID

The function dw::core::Dates::atBeginningOfHour now works as expected when an hour is represented as a single digit.

W-11620156

Escaped quote characters now work as expected in CSV Module.

W-12128349

The FlatFile module now provides a reader property, retainEmptyStringFieldsOnParsing, for handling fields that lack values. When set to true, this property makes the reader retain these fields and set their values to an empty string. The default behavior of the reader is to remove those fields.

W-12036336

Data payloads without line breaks no longer work when using lenient as the recordParsing property. The other options to recordParsing support records that lack line breaks. noTerminator is preferred for fixed-length records that lack a line break.

W-12472890

For guidance with the patching process, see Apply Patch Updates.

November 2022

November patch update 4.4.0-20221111 addresses a regression in the previous November patch update, 4.4.0-20221026, and includes the fixes in that patch.

Patch 4.4.0-20221111

Patch release version: 4.4.0-20221111

This patch update addresses the following Mule issues:

Issue Resolution ID

Using the insecure="true" attribute of the trust-store no longer throws NullPointerException.

W-12049036

There is no DataWeave update for this version.

For guidance with the patching process, see Apply Patch Updates.

Patch 4.4.0-20221026

Patch release version: 4.4.0-20221026

This patch update addresses the following Mule issues:

Issue Resolution ID

Flow executions containing a First Successful and a Raise Error no longer stop responding.

W-10619792

The insecure="true" attribute of the trust-store config is now honored when additional properties are defined. Use the system property mule.honour.insecure.tls.configuration=true to apply this behavior in Mule 4.4 or earlier.

W-10822938

Applications that depend on a domain to load resources no longer fail with a "Couldn’t find resource: neither on classpath or in file system" error.

W-11625237

Error mapping is no longer executed when an error occurs inside of an operation policy.

W-11861168

Applications with global functions no longer fail on startup with a ClassCastException error.

W-11603893

Transactions now honor the Transaction Timeout configured in the Try scope.

W-11741912

To avoid XML SDK implicit configuration creation, this release adds the system property mule.disableXmlSdkImplicitConfigurationCreation=true.

W-10634129

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Issue Resolution ID

onNull functions now work as expected.

W-11865849

Instead of returning an empty array in some scenarios, iterating flat file arrays now work as expected.

W-11932440

For guidance with the patching process, see Apply Patch Updates.

October 2022

Patch release version: 4.4.0-20220922

This patch update addresses the following Mule issues:

Description Issue

Improved memory consumption when using a global error handler.

W-11503016

HTTP connections no longer have a leak that prevents new connections from opening.

W-11622837

TransactionTimeout is now set correctly on XA Transactions, preventing stale connections.

W-11741912

Improved the compatibility of Microsoft SQL Server when using XA Transactions with Bitronix.

W-11228596

Improved the performance of the execution of source events.

W-11676440

This release adds a feature flag that disables the error suppression feature. Error suppression prevents components such as the Web Service Consumer connector and the Until Successful scope from reporting errors outside their namespaces. Use the system property mule.suppress.mule.exceptions=false to apply this change.

W-11308645

The "Listener successfully reconnected" message no longer appears when the application starts.

W-10983306

HTTP wire logging now provides the complete context of the request and response for 413 and 414 scenarios.

W-11410315

There is no DataWeave update for this version this month.

For guidance with the patching process, see Apply Patch Updates.

September 2022

Patch release version: 4.4.0-20220824

This patch update addresses the following Mule issues:

Description Issue

Applications using the latest Open JDK 11 version no longer produce invalid JVM vendor errors.

W-11265408

Tanuki wrapper upgraded from 3.5.45 to 3.5.50 to support M1 (ARM) architecture.

W-11242363

Applications no longer fail to start with a Prefix URI must be not blank error.

W-11627710

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

Visual Studio Code extension no longer breaks with binary input format in the test scenario inputs directory.

W-11507190

Namespace is now added on elements when previously used at a deeper structure level.

W-11349764

For guidance with the patching process, see Apply Patch Updates.

August 2022

Patch release version: 4.4.0-20220722

This patch update addresses the following Mule issues:

Description Issue

Global Error Handler configurations no longer roll back transactions that are not supposed to roll back.

W-11324527

CXF is upgraded to version 3.5.1.

W-11267666

Mule no longer duplicates lifecycle phases for global Error Handler configurations.

W-11117613

Error mapping now works while deploying a custom Header Injection policy.

W-11147961

Different ModuleException constructors now produce the same output messages.

W-11192984

Mule runtime no longer produces the following warning: "An expression value was given for parameter 'variableName' but it doesn’t support expressions".

W-10998630

Incorrect logs no longer appear for polling sources.

W-11398537

Caching issues no longer cause a policy to use data from the wrong operation and produce Element and Element DSL mismatches with the flow stack.

W-11403067

A memory leak no longer occurs when using JMS Connector with ActiveMQ.

W-10583584

Mule SDK now supports a List of java.math.BigDecimal/BigInteger parameters.

W-11348869

Log levels for successful source reconnections are now set to INFO.

W-11437305

The caching strategy no longer applies the lifecycle phases to the Object Store when it is defined in the domain.

W-11203794

HTTP_Request_configuration in Anypoint Connector for HTTP now honors proxy settings.

W-10863931

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. This patch release addresses the following DataWeave issues:

Description Issue

The message for the StackOverflow script compilation error is no longer hidden.

W-11215958

For guidance with the patching process, see Apply Patch Updates.

July 2022

Patch release version: 4.4.0-20220622

This patch update addresses the following Mule issues:

Description Issue

MUnit tests no longer fail when referencing the mule.home reserved property within the application on Windows OS.

W-11193698

Spring upgraded from 5.3.18 to 5.3.21.

W-11300535

Jackson upgraded to 2.13.3.

W-11139348

MuleArtifactAstCopyUtils no longer leaves mutable collections in generated artifacts or components.

W-11208606

AbstractForkJoinRouter-based processors, such as Parallel For Each and Scatter-Gather routers, can now show detailed error information for their failed routes. Use the system property mule.detailedCompositeRoutingExceptionLog=true to apply this change.

W-10965130

When using an XML SDK component that declares inner flows, flow-ref validation no longer fails with a flow "does not exist" error message during lazy initialization deployment.

W-11267062

Applications connected to the API Gateway no longer receive maximum concurrency reached errors.

W-10917220

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. The July patch release addresses the following DataWeave issues:

Description Issue

Writing binary values with the JSON writer no longer outputs the base of the values.

W-11326859

This release fixes Avro property handling.

W-11324418

This release improves handling of streams that do not declare a size.

W-11277575

Fix write function so Avro format can be handled.

W-11047202

This release improves handling of string values in XML format.

W-11273037

For guidance with the patching process, see Apply Patch Updates.

June 2022

Patch release version: 4.4.0-20220523

This patch update addresses the following Mule issues:

Description Issue

Mule no longer fails with error DefaultFeatureFlaggingService after applying the 2022 May patch.

W-11172835

File attributes are no longer removed when using Parallel For Each.

W-10848628

FIPS enabled Mule Clusters no longer throw a java.nio.BufferUnderflowException warning when using the RetrieveAll operation on an Object Store.

W-10884325

ValueProvider parameters validations now work properly when combined with TypeResolver annotations.

W-10634121

Updated the error message shown when a Batch component cannot queue records.

W-11086577

Added logging to AbstractQueueStoreDelegate to describe why a record was not successfully queued.

W-11086587

The AS400 connector now properly receives a JSON response instead of org.mule.runtime.core.internal.util.message.stream.UnclosableCursorStream.

W-11093225

Mule now raises an ExceptionNotification error when ExtensionMessageSource fails to start.

W-10619908

Deserializing older SDK models no longer causes a NullPointerException error.

W-10815920

Polling frequency now works correctly when using the value 60000, which was previously incorrectly interpreted to poll every 1 second rather than every 1 minute.

W-10682121

XML SDK modules now properly access configurations defined at the domain level.

W-10719167

Upgraded Spring dependency from 5.1.20 to 5.3.18.

W-10989650

Mule applications no longer crash due to an unhandled IllegalStateException error when processing a batch block.

W-10742153

Mule now fails as expected if the event source configuration for the application is incorrect.

W-10619908

Mule application deployment properties are no longer lost after domain redeployment.

W-10984029

A memory leak no longer occurs after redeploying multiple times an application that uses the IBM MQ connector.

W-10672197

Mule now supports deploying applications that define a listener-config name based on an application property.

W-10923083

Connector parameters are now received properly instead of being null.

W-10920842

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. The June patch release addresses the following DataWeave issues:

Description Issue

DataWeave now parses Java objects without errors.

W-10832766

The text/plain reader now correctly ignores the byte order mark (BOM). The JSON writer now uses the encoding information available in Binary values when writing them as String values instead of using the writer configuration encoding. To restore the previous behavior, enable the system property com.mulesoft.dw.decode_binaries_with_writer_encoding.

W-10696255

Multiline string indentation on YAML now works correctly.

W-10955882

The FlatFile module now includes the allowLenientWithBinaryNotEndElement property to support existing behavior.

W-10935528

Fixed ClassCastException in multipart module.

W-10943884

DataWeave now shows a descriptive error when there is an unsupported output mime type.

W-10876534

The indexed XML reader no longer adds unnecessary text fields to XML objects.

W-10942171

For guidance with the patching process, see Apply Patch Updates.

April 2022

Patch release version: 4.4.0-20220321

This patch update addresses the following Mule issues:

Description Issue

Race conditions no longer occur when running parallel deployments.

W-10672687/SE-23764

Custom connector POST requests no longer send the body as NULL when handling empty payloads.

W-10818822

The redirect implementation properly handles the "Preserve Header Case" configuration.

W-10822777

For guidance with the patching process, see Apply Patch Updates.

March 2022

Patch release version: 4.4.0-20220221

This patch update addresses the following Mule issues:

Description Issue

A direct memory error no longer occurs when the com.mulesoft.dw.directbuffer.disable system property is enabled.

SE-24186

Set-Cookie is now handled correctly after a redirect request.

W-10667387 / MULE-19942

Properties now resolve correctly for document attributes of the AST metadata.

W-10673280 / MULE-20090

Metadata type is no longer missing from the definition when present in the schema.

W-10674401 / SDK-48

When disposing of an application, Mule no longer throws an IOException error indicating that the underlying JAR file is in use.

W-10674436 / W-10674454 / SE-23775

After a failed HTTP request, applications no longer stop when reading the error payload in the error handler.

W-10681464 / MULE-19537

The warning Illegal reflective access by EfficientReflectionHashCode no longer occurs due to starting Mule when using JDK 11.

W-10730677 / EE-7990

LifecycleObjectSorter and dependency resolvers implemented in this release reduce application deployment time.

W-10745620 / W-10746222 / MULE-19984

Thread-local interference no longer occurs when a task is scheduled for execution on the same thread due to thread-pool exhaustion. One possible symptom was a transaction not being properly cleaned up under heavy load, followed by nested transaction errors.

W-10619599 / MULE-20072 / SE-24241

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. The March patch release addresses the following DataWeave issues:

Description Issue

A direct memory error no longer occurs when the com.mulesoft.dw.directbuffer.disable system property is enabled.

SE-24186

Duplicate declarations for namespace prefixes in XML no longer occur.

W-10648792 / DW-1081

Exceptions are no longer thrown due to use of the default operator with fromBase64.

W-10648825 / SE-23812

Avro unions with enums are now supported.

W-10706991

For guidance with the patching process, see Apply Patch Updates.

February 2022

Patch release version: 4.4.0-20220124

This patch update addresses the following Mule issues:

Description Issue

Anypoint Connector for Box (Box Connector) no longer fails to recreate the input stream after an access token refresh, preventing a stream closed issue.

MULE-20001/SE-23666

A concurrent connection limitation in Anypoint Connector for NetSuite (NetSuite Connector) no longer occurs.

MULE-19937/SE-22359

The readiness check performed when deploying on Runtime Fabric is now processed correctly.

AGENT-466/SE-22948/SE-22585

Running multiple MUnit cases together no longer causes a No bean named '_muleDefaultObjectSerializer' available error.

MULE-20012/SE-23407

Anypoint Connector for Google Calendar (Google Calendar Connector) no longer overwrites the access_token, which prevents generating incorrect results.

MULE-20019/SE-23584

You can now use static values in a flow reference processor.

MULE-19987/SE-23634

Mule no longer performs a thread switch in a transactional context that uses multithread and the same cache-key.

EE-8216/SE-23816

Using a custom connector that includes enum types no longer prevents applications from deploying successfully.

MULE-19976/SE-24012

Mule no longer returns an incorrect CONNECTIVITY error type when a ConnectionException is thrown when using the Java SDK.

MULE-19895/SE-24091

Deploying a Mule application with unpaired namespaceUri in schemaLocations no longer causes an ArrayIndexOutOfBoundsException error.

MULE-20035/SE-24099

Global property values of a module are now accessible within a private operation that is invoked within a flow control component.

MULE-19962/MULE-19035/SE-22282

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. The February patch release addresses the following DataWeave issues:

Description Issue

An endless loop issue no longer occurs when writing a CSV file with bufferSize=0.

DW-1074

Creating sample files using the binary type no longer causes an error.

DW-390

Corrected the documentation of the`Periods::between` function.

DW-1070

Upgraded some dependencies, including avro and jackson, and removed unused AWS dependencies (#1673).

DW-1080

Upgraded the edi-parser with SLF4J.

CONN-9598

Performing transformations from avro to other formats no longer causes an exception when the enum type field is present.

SE-23802

For guidance with the patching process, see Apply Patch Updates.

January 2022

Patch release version: 4.4.0-20211227

This patch update addresses the following Mule issues:

Description Issue

MUnit tests no longer fail after migration from Mule 4.2.1 to Mule 4.3.0 or higher versions.

MULE-19866/SE-21030

This release adds the mule.errorTypes.lax feature. When enabled, error types are enforced.

MULE-19879/SE-23207

MUnit no longer hangs as references to Spring schemas in the Mule XSD schema are removed.

MULE-19904/SE-23247

Applications that implement a VM Listener no longer raise java.lang.IllegalStateException: No connection has been bound errors and quit.

SE-22172

Application deployment no longer fails with Task [App].wsc-dispatcher rejected from Scheduler errors.

SE-22851

A null pointer exception error on ObjectBeanDefinitionCreator.processMuleProperties that prevented app deployment no longer occurs.

MULE-19886

FlowProcessMediator no longer leaks the payload of the first request.

MULE-19869

Mule no longer raises exception errors for a custom connector developed with Mule SDK for Java.

MULE-19936/SE-23408

If the redelivery policy is exhausted in a source configured with transactions, Mule no longer raises an error that runs in a loop.

MULE-19915

Processors in subflows now get the processing strategy of the root flow.

MULE-19924

Autogenerated Mule connectors no longer fail with NumberFormatException errors.

MULE-19871/SE-21463

You can now redeploy applications that were in a stopped state when they were deleted.

MULE-19890/SE-22261

DataWeave now escapes the \ symbol when used in combination with the " symbol.

MULE-19900/SE-22346

The batch processing On Complete phase no longer fails if it encounters an error stream.

EE-8020/SE-22386

Logs no longer show reconnection successful messages when reconnection attempts to the FTP server are exhausted because the server is unavailable.

SE-22434

Transactions opened by the JMS Listener are no longer rolled back.

MULE-19919/SE-23039

You can now perform parallel deployments of apps that are linked to a domain and share a configuration.

MULE-19912/SE-23123

Mule now recognizes Eclipse Temurin by Adoptium (formerly Adopt OpenJDK project) as a recommended JDK Vendor and no longer raises an INFO-level log message.

MULE-19917/SE-23354

Apache Commons Compress upgraded to version 1.21.

EE-8088

GSON upgraded to version 2.8.9.

EE-8154

Kryo updated to version 4.0.2.

EE-8153

Apache Velocity updated.

EE-8010

The JMS Connector no longer leaks connections and now honors connection pools in XA mode with Solace JMS.

MULE-19848/SE-2228

MUnit no longer fails with a RejectedExecutionException error.

SE-22728

Scheduler runs using cron expressions are no longer rejected if other scheduler components are under back pressure.

SE-22941

This releases fixes an issue that caused a No qualifying bean of type 'org.mule.extensions.java.internal.cache.JavaModuleLoadingCache' available error.

MULE-19896/SE-23142

An issue that caused a No qualifying bean of type 'org.mule.extensions.java.internal.cache.JavaModuleLoadingCache' available error no longer occurs.

MULE-19896/SE-23142

The JMS Connector no longer leaks connections and now honors connection pools in XA mode with Solace JMS.

MULE-19848/SE-22284

HTTP requests with 100-continue are now processed as expected.

MULE-19884/SE-22637

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. The January patch release addresses the following DataWeave issues:

Description Issue

Flow retyping inside dynamic functions now works as expected.

DW-677

DataWeave no longer incorrectly sets autostreaming.

DW-918

The UnsupportedTypeCoercionToLiteralException error is now caught when using the similar operator (~=).

DW-932

JSON streaming now works correctly.

DW-940

The AttributeDelegate function no longer causes a stack overflow error.

SE-23494

Removing objects by property name now works as expected.

SE-23444

When using arrays, the XML writer properly keeps namespaces.

SE-23299

DataWeave now correctly parses large strings in JSON transformations.

SE-23291

A Scatter Gather issue that caused DataWeave to throw the ArrayIndexOutOfBoundsException error no longer occurs.

SE-22431

Comparison operators for dateTime type now work as intended.

SE-22025

Local variable resolution now works as expected.

SE-21847

Avoid closing resources prematurely when using the write function, which affects MUnit tests.

SE-23483

Fix OutOfMemory error using writeLinesWith function, which affected the ndjson module.

SE-23759

For guidance with the patching process, see Apply Patch Updates.

November 2021

November patch update 4.4.0-20211104 addresses a regression in the previous November patch update, 4.4.0-20211026, and includes the fixes in that patch.

  • If you installed the previous November patch, 4.4.0-20211026, install patch 4.4.0-20211104 to address the regression.

  • If you did not install the previous November patch, 4.4.0-20211026, skip that patch, and install the new patch, 4.4.0-0211104.

For detailed information about the regression, potential actions to take, and alternative solutions, see HTTP Redirect Known Issues in Mule 4.3 and 4.4 runtime engines - November 2021 changes.

Patch 4.4.0-20211104

Patch release version: 4.4.0-20211104

This November update addresses a regression introduced in the previous November patch, 4.4.0-20211026:

Description Issue

QueryParams are no longer lost when HTTP redirects take place.

MULE-19811

Addressed a regression in the initial November patch update.

SE-23349

Patch 4.4.0-20211026

Patch release version: 4.4.0-20211026

Skip this patch, and install a later patch. Fixes in this patch are included in later patches.

This November update addresses the following Mule issues:

Description Issue

Fixed NullPointerException handling when serializing or transforming Mule errors from the Until Successful component.

MULE-19811

Added missing copyStrategy elements to caching strategy the extension model.

EE-8112

The CachedConnectionProvider no longer returns the same connection to a source if sourceCallback.onConnectionException(e) is called.

MULE-19678

An issue with nesting referenced Flow Reference components no longer occurs.

MULE-19831/SE-22539

Fixed a memory leak in org.mule.runtime.core.internal.rx.FluxSinkRecorder.

MULE-19846/SE-22780

Applications now start correctly after the September patch update is applied.

MULE-19815/SE-22845

Fixed an issue with adding Anypoint Connector for Snowflake (Snowflake Connector) to Studio.

SE-23107

Fixed a scheduling mechanism issue in Anypoint MQ that appeared when the Subscriber operation used the Polling type.

MULE-19843/SE-23031

Fixed an invalid configuration error in custom connectors built with the XML SDK.

MULE-19858/SE-23113

Fixed a memory leak in FlowProcessMediator.

SE-22773

Fixed intermittent No listener errors during Studio deployments or flow restarts.

MULE-19533/SE-21576/SE-20958

Mule now handles concurrent requests correctly when a Mule application makes an HTTP request that returns a 301 redirect.

SE-22922/SE-19944

DataWeave 2.4.0 is bundled with the Mule 4.4.0 release. The November patch release addresses the following DataWeave issues:

Description Issue

Fixed a ClassCastException that occurred in the Avro module by correcting its generated MIME type.

SE-21869

Comments within YAML files processed in Mule applications are no longer erased.

DW-706

You can now disable the removal of self-referencing implicit variables.

DW-893

DataWeave now allows mixed content structures (text and nodes) when reading and writing XML content.

SE-21464

Functions in the Dates module now accept one-digit numbers for months and days.

DW-894

Improved the performance of splitting functionality.

DW-776

Improved the performance of the JSON module.

DW-706

For guidance with the patching process, see Apply Patch Updates.

October 5, 2021

What’s New

Mule 4.4.0 includes important enhancements and fixes.

Enhancements

  • Correlation ID Management

    Mule 4.4 enables you to modify the correlation ID associated with a Mule event. You can also change the algorithm Mule uses to generate each correlation ID.

    See Correlation ID for additional information and configuration instructions.

  • Improved Logging Capabilities

    Mule 4.4 incorporates the Mule Tracing module, which you can use to add, remove, and clear variables from the logging context for a given Mule event.

    See MDC Logging for additional information and configuration instructions.

  • Feature Flagging Mechanism

    Mule 4.4 incorporates a feature flagging mechanism, which enables you to disable certain features that change core functionality in Mule to avoid backward compatibility issues.

    The following are the feature flags introduced in this release and its corresponding fixed issue ID:

    Feature Flag Issue ID

    HONOUR_RESERVED_PROPERTIES_PROPERTY

    MULE-17659

    HANDLE_SPLITTER_EXCEPTION_PROPERTY

    DW-383

    BATCH_FIXED_AGGREGATOR_TRANSACTION_RECORD_BUFFER_PROPERTY

    MULE-19218

    COMPUTE_CONNECTION_ERRORS_IN_STATS_PROPERTY

    MULE-19020

    TO_STRING_TRANSFORMER_TRANSFORM_ITERATOR_ELEMENTS_PROPERTY

    MULE-19323

    ENABLE_POLICY_ISOLATION_PROPERTY

    MULE-19226

    ENTITY_RESOLVER_FAIL_ON_FIRST_ERROR_PROPERTY

    EE-7827

    ENABLE_PROFILING_SERVICE_PROPERTY

    MULE-19588

    SET_VARIABLE_WITH_NULL_VALUE_PROPERTY

    MULE-19443

    See Feature Flagging for a detailed description of each feature flag and configuration instructions.

Bundled Components

  • Runtime Manager Agent plugin version 2.4.21

  • Dataweave version 2.4.0

Fixed Issues

Mule Runtime Issue ID

The tooling service in Anypoint Studio now properly propagates metadata for DataWeave Intersection types.

SE-22333

Mule runtime engine uses the correct version of the disruptor.

SE-19387

Fixed a metaspace memory leak in Anypoint Connector for Database (Database Connector).

SE-15818

HTTP requests with OAuth now use a valid token.

SE-15667

Console logs do not produce repeated log messages for the completion of a single batch job.

SE-11533

Fixed the Illegal reflective access warnings for OpenJDK 11.

SE-13349

After a connection is re-established, SFTP files are now picked up properly.

MULE-18294/SE-13897

In Azure Service Bus Connector, when a flow is stopped, the message listener now stops polling.

SE-17389

API Manager now properly handles connection pool exhaustion and no longer shows APIs in INACTIVE state.

SE-15351

Anypoint Connector for NetSuite (NetSuite Connector) no longer makes excessive getServerTime calls.

SE-15200

An application no longer fails to deploy if it uses the same custom name space as an applied custom policy.

SE-15056

Applications using Anypoint Connector for Database (Database Connector) under heavy load no longer show StackOverflow errors.

SE-14663

Mule no longer produces an exception related to class loading when the class exists as a dependency and is configured as a shared library.

SE-14245

When an encoded slash is sent as the value of a URI parameter, the associated listener is now found.

SE-14046

Mule 4 no longer fails to stream the complete payload to the client.

SE-14012

The ErrorType no longer changes when entering an Error Handler scope.

SE-13673

Proxies no longer experience outages during redeployment in Anypoint Runtime Fabric configured with two replicas and rolling update.

SE-13596

DataWeave Issue ID

Added the writeDeclaredNamespaces XML writer property to write all declared namespaces in the root element.

DW-16

Added the writeDeclaration YAML writer property to avoid writing the header declaration.

DW-162

Added a new Strings module for easier string data management.

DW-406

Added the constant folding functionality so that DataWeave replaces operations involving constant values with the actual result. For example, 1024*8 is replaced at compile time with the resulting value 8192.

DW-427

Added flow retyping to the type system, which enables better accuracy within flow-control structures featuring checks that involve typing.

DW-438

Added code inspectors so that quick fixes are suggested with best practices, such as replacing null checks with a default expression, or replacing sizeOf() == 0 with isEmpty().

DW-33/DW-632

Added an inspection to replace using with do blocks.

DW-771

Improved error messages when creating Java objects.

DW-565

Improved performance on floating point number parsing by identifying in advance if the number has a floating point or not.

SE-20614

Extended the common subexpression elimination process to work with index selectors.

SE-19934

Added functions that work with null values to the Core, Arrays, and String modules.

DW-425

Improved JSON performance by copying bytes from input to output directly during JSON-to-JSON data transformations.

DW-230

Improved YAML support of scalar types, string quotations, custom tags, and comment retention.

DW-687

Added the filterTree function to the Tree module to be able to filter any data structure.

DW-160

Added validations for index tokens in CSV format.

DW-577

Added support for the Java classes OptionalInt, OptionalDouble and OptionalLong.

DW-628

Added support for file:/example/file.txt as a valid URL.

DW-195

Added warning when using the design-time only format application/dw without dataOnly mode.

DW-873

Added experimental run and eval functions to dynamically execute scripts.

DW-170

Added the concept of optional function parameters in the type system.

DW-874

Improved CSV streaming to avoid unnecessary processing.

DW-876

Improved the mapObject function to avoid unnecessary processing.

DW-535

Improved the flatten function to avoid unnecessary processing.

DW-509

Improved code validation. Now an error returns when a variable is using the same name as an input.

DW-522

Improved the precision of math operations and added a property to retain the previous behavior: com.mulesoft.dw.math.exact_precision.

SE-16452

Improved handling of big XML files to fix potential I/O exceptions.

DW-250

Fixed error locations when scripts feature dynamic string selectors.

DW-875

Fixed a false negative error message when using multiple union types.

DW-297

The write function return types are now consistent with input types.

DW-298

The update operator no longer fails when working with repeated keys and attributes.

DW-306

Processing of XML documents with comments and streaming enabled now works as expected.

DW-307

DataWeave no longer fails to parse a single key-value pair with a conditional and parentheses.

DW-309

The type system now validates overloaded functions as parameters.

DW-316

Parallel processing on ndjson now works as expected.

DW-325

Fixed a materialization and streaming failure.

DW-368

Fixed the behavior of the slice function.

DW-409/DW-410

Fixed the ability to import namespaces from external modules.

DW-414

DataWeave now produces the error Division by Zero when dividing by 0.0 instead of an internal exception.

DW-415

DataWeave now properly validates that do blocks do not contain any reserved word declaration.

DW-416

Running flatten on flatten no longer causes loss of values.

DW-691

The update operator now works when no attribute is defined.

DW-216

Improved handling of binary data to prevent running out of memory when calculating sizes of processed data.

SE-16559

The com.mulesoft.dw.coercionexception.verbose property no longer logs data from coercion exceptions.

SE-15487

Using nested binary functions no longer produces a StackOverflow error.

SE-16092

DataWeave no longer returns UnsupportedOperationException when parsing an invalid script.

DW-294

Fixed a potential IndexOutOfBoundException when using overloaded functions with four parameters.

DW-159

Added support for dumping Flat File and Avro schemas when com.mulesoft.dw.dump_files is enabled.

DW-137

Improved code compilation. Implicit inputs are not added if a variable with the same name is explicitly defined.

DW-630

Known Issues

Issue ID

Mule AS2 Connector 5.x is not compatible with Mule 4.4. For any applications that use this version of the connector, upgrade the connector to the latest version available in Exchange.

EE-8071

WSDL Proxies on version 1.1.1 and 1.1.2 are not compatible with Mule 4.4. Before you upgrade to 4.4, upgrade the WSDL Proxies to a newer version.

EE-8070

Mule SAP Connector 5.3.4 is not compatible with Mule 4.4. For any applications that use this version of the connector, upgrade the connector to the latest version available in Exchange.

EE-8061

Upgrade

If you are upgrading to Mule 4.4 from an earlier Mule 4.x version, see Upgrading Mule Runtime Engine (Versions 4.x to 4.n) for upgrade instructions.

To ensure optimal performance with Mule 4.4 and avoid unexpected issues, update the following modules and extensions to their latest version at the time of this release:

Module or Extension Version

APIkit for Mule 4

1.5.5

APIkit for SOAP

1.2.9

Spring module

1.3.6

MUnit plugin

2.3.6

Module Testing Framework (mtf-tools)

1.1.1

Considerations for Mule Extensions Developers

If you update the version of your parent pom.xml file to 1.4.0 or later when you build a Mule extension, ensure that the dependencies in your pom.xml file do not override dependencies defined in the parent pom.xml file and declare only the dependencies you need. If you need to declare a dependency that is already declared in the parent pom.xml file, do not specify a version so it uses the version from the parent pom.xml file.

See Also