Skip to content

Spring Integration 6.4 to 6.5 Migration Guide

Artem Bilan edited this page Apr 16, 2025 · 4 revisions

Control Bus Management

The SpEL and Groovy support for Control Bus EI pattern has been removed in favor of less invasive Control Bus Management via ControlBusCommandRegistry (and supplemental ControlBusController REST endpoint at /control-bus). The <control-bus> XML component now fully relies on the ControlBusCommandRegistry functionality. The DSL's controlBusOnRegistry() is deprecated now in favor of controlBus() which does now exactly the same and fully relies on the ControlBusCommandRegistry functionality.

Paho MQTT as optional dependency

The org.eclipse.paho:org.eclipse.paho.client.mqttv3 dependency for spring-integration-mqtt is now also optional as org.eclipse.paho:org.eclipse.paho.mqttv5.client always was. So, depending on the target project requirement for MQTT protocol version support, this or that dependency has to be included.

Removal of PollerMetadata.sendTimeout

The PollerMetadata.sendTimeout was always out of use in the framework. It was deprecated in the previous 6.3.x and 6.4.x, so now it is removed altogether to avoid confusion. The SourcePollingChannelAdapter.setSendTimeout() has to be used instead.

Deprecations in spring-integration-hazelcast

Due to migration of most Hazelcast features to commercial support starting with version 5.5, we cannot provide an Open Source API in Spring Integration based on CP Subsystem. Therefore, the HazelcastLockRegistry and LeaderInitiator are deprecated for removal in next Spring Integration 7.0. Consult with Hazelcast support for possible mitigation.

The HazelcastLocalInstanceRegistrar and its HazelcastMembershipListener user have been also deprecated in favor of Hazelcast Cluster API for members management.

Clone this wiki locally