Contact Free trial Login

Mule Runtime 4.2.1 Release Notes

July 22, 2019

Mule Runtime 4.2.1 includes the following enhancements, changes, and fixes.

New Features and Enhancements

DataWeave:

  • maxAttributeSize: Property to set the maximum attribute size in the XML parser.

  • escapeCR: Property for escaping a carriage return (CR) in the XML writer.

Changes

Not applicable.

Known Limitations and Workarounds

Issue Description

MULE-17020

When debugging an application, Studio is unable to stop over connectors made with the XML SDK and REST Connect connectors.

MULE-17018

Configurations with an expression that contains XML-encoded characters are not allowed. For example, host="['baseUri.com']" is considered invalid. As a workaround, configure the attribute with non-encoded characters, such as host="['baseUri.com']".

AGW-3299

When Mule OAuth provider is configured to be used by Mule OAuth token enforcement policy, and organization/environment credentials are not correctly configured, the deployment of the provider will fail with a MuleRuntimeException.

Upgrade Requirements

Not applicable.

Fixed Issues

Issue Description

MULE-17061

Optimization to avoid thread switch in PS is broken

MULE-17051

Default Error Handler should be looked up after initialization

MULE-17050

SDK Non Blocking operation and policy is not returning a response under load

MULE-17007

@OutputJsonType does not set metadata type id

MULE-16995

Shared runtime deps in app mess up classloading

MULE-16991

Race condition when invalidating cached connections

MULE-16986

XA Transactions fail to rollback on ConnectionException

MULE-16983

Reconnection should not retry when resource has joined active transaction

MULE-16982

ArrayOutOfBoundException when creating custom scheduler

MULE-16967

Database bulk parameters missing on artifact declaration generated from mule-config

MULE-16964

TryScope with no tx fails within subFlow+async

MULE-16952

Publisher returned by applyWithChildContext not completed when source is completed

MULE-16936

Mule 4 JMS Bridge (ActiveMQ) scenario stops working after a certain time

MULE-16899

ClassCast exception when registry lookup finds no match

MULE-16897

No primary node notification listener set on extension sources with cluster support

MULE-16896

Bound connections not released on TransactionException

MULE-16894

IllegalStateException in Polling Source when cluste node is shutting down

MULE-16892

Error handler being executed twice when flow ref is involved

MULE-16891

flowTrace OoM when using foreach with large collections

MULE-16878

StringToEnum Transformer should have different names for each extensionModel

MULE-16872

Async in a transaction executes in the same thread as the transaction

MULE-16856

Starting a flow should fail when a task is rejected from scheduler.

MULE-16853

ConfigurationProperties does not honor properties hierarchy when having prop resolved with placeholder

MULE-16847

MessageProcessors.processWithChildContext must complete the EventContext

MULE-16841

Password mask regex does not consider dw and non-literal expressions.

MULE-16836

Cannot find snapshot artifact via resource loader when trying to scaffold an API

MULE-16831

Fix XA transactions with bitronix

MULE-16830

Global Properties are taking precedence over Application Properties

MULE-16824

LazyInit should initialize the Mule configuration at part of the component initializations phase

MULE-16790

Global ErrorHandler does not resolve transaction

MULE-16784

MuleClassLoaderLookupPolicy wrongly assumming javax.xml.bind.attachment as system package in Java 11

MULE-16775

OnErrorPropagate in global error handler is not rollbacking tx

MULE-16758

Multithreaded sources are concurrently reconnected more than once

MULE-16753

A transaction is not available error related to execution on a cpuLight thread

MULE-16744

spring.schemas exported from runtime conflict with spring dependencies used in an app

MULE-16730

Interception API: Validation all throws NullPointerException

MULE-16725

Fix race condition in flow lifecycle handling

MULE-16657

Metaspace leak when generating dynamic configurations

MULE-15599

Serializing an artifact model constructed from serializing a JSON loses data

MULE-16833

Optimize resolution of payload and attributes default parameters

MULE-16808

Update Apache Ant to at least 1.9.12 in 3.x

MULE-16713

Support application/java payloads in redelivery-policy

EE-6804

Bitronix Proxy hides connectivity exceptions

EE-6797

Bitronix exception when redeploying an app using XA transactions

EE-6796

Dirty Bitronix transaction log

EE-6780

Corrupt patches not applied but logged as applied

EE-6779

BitronixTransactionManager built before QueueManager initialize causes NPE

EE-6774

Memory leak on com.mulesoft.mule.runtime.bti.internal.xa.QueueManagerXaResourceProducer

EE-6769

Possible race condition when registering ConnectionFactory in Bitronix

EE-6710

Batch RecordFilteringStrategy is not filtering correctly

EE-6773

Leak of QueueSessionResourceHolder’s: Add troubleshooting information

EE-6736

Update hazelcast to at least 3.12.x in 4.x

EE-6704

Add System Property to set some bitronix logs to debug

EE-6374

Sending large bodies causes OOM error in HTTP requester

AGW-3213

Fix UriBuilder causing class not found

AGW-3181

Log indicating client id or secret are not provided is never shown

AGW-3142

Upgrading policy version is not using new policy jar

SE-12023

Custom policy is not removing its resources as expected

SE-11918

Autodiscovery blocking Gatekeeper from unlocking the API

SE-11887

Using cxf-bundle-minimal or rs-api-2.0.jar in mule application fails the API pairing on CloudHub

SE-11482

Spinoff from SE-10969, JdbcMapStore Object Store in Mule 4.1.5 runtime Cluster environment causes ClassCastException and prevents on-prem Mule Application from pairing with API Manager

SE-11239

AuthenticationServer is leaking objects

DataWeave

  • Fix (SE-12061): Allow line comments in the last line.

  • Add support for Enums and Field constants on Java Bridge.

  • Fix: leftJoin should support lambdas that return something that is coercible to a String.

  • Fix: Optional should be supported for None and Some and on Java Bridge.

  • Add a property to set the maximum attribute size in the XML parser.

  • Add a property for escaping a carriage return (CR) in the XML writer.

  • Fix: Bug in indexed XML reader parsing root elements with only text.

MULE-17060

Use the default ProcessingStrategy for policies instead of a custom one

MULE-16990

Improve troubleshooting logging for XA transaction

MULE-16937

SDK should no longer that at least one Content parameter to be primary

MULE-16909

Support custom parameters in OAuth Dance

MULE-16908

Support Client Credentials gran type in the SDK

MULE-16881

Migrate app deployment file to 4.1

MULE-16851

Implement CompositeConverter#toString to aid in transformers troubleshooting

MULE-16755

ObjectStore expire: account for inconsistencies that may occur in cluster

MULE-16437

Improve ExtensionClient performance

EE-6760

Make Bitronix XA connection pool configurable

This version of Mule runtime is bundled with the Runtime Manager Agent plugin version 2.3.0.

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.