Skip to content

Spring Integration 6.4 to 6.5 Migration Guide

Artem Bilan edited this page Mar 19, 2025 · 3 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.

Deprecation of 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. Therefore, this module has been deprecated without any replacement. Will be removed in the next Spring Integration 7.0. Consult with Hazelcast support for possible mitigation.

Clone this wiki locally