-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Spring Integration 6.4 to 6.5 Migration Guide
- Control Bus Management
- Paho MQTT as optional dependency
- Removal of
PollerMetadata.sendTimeout
- Deprecation of
spring-integration-hazelcast
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.
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.
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.
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.