This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Integration 6.3.2! |
What’s New?
For those who are already familiar with Spring Integration, this chapter provides a brief overview of the new features of version 6.4.
If you are interested in the changes and features that were introduced in earlier versions, see the Change History.
What’s New in Spring Integration 6.4?
If you are interested in more details, see the Issue Tracker tickets that were resolved as part of the 6.4 development process.
In general the project has been moved to the latest dependency versions.
New Components
The new Control Bus interaction model is implemented in the ControlBusCommandRegistry
.
A new ControlBusFactoryBean
class is recommended to be used instead of deprecated ExpressionControlBusFactoryBean
.
See Control Bus for more information.
Also, a ControlBusController
(together with an @EnableControlBusController
) is introduced for managing exposed commands by the mentioned ControlBusCommandRegistry
.
See HTTP Support for more information.
Remote File Adapters Changes
The AbstractRemoteFileStreamingMessageSource
has now a convenient clearFetchedCache()
API to remove references from cache for not processed remote files.
The references stay in cache because polling configuration does not allow to process all the fetched in one cycle, and the target SessionFactory
might be changed between polling cycles, e.g. via RotatingServerAdvice
.
JDBC Changes
The LobHandler
(and respective API) has been deprecated for removal in Spring Framework 6.2
.
Respective option on JdbcMessageStore
(and similar) have been deprecated as well.
The byte array handling for serialized message is fully deferred to JDBC driver.
The LockRepository.delete()
method return the result of removing ownership of a distributed lock.
And the JdbcLockRegistry.JdbcLock.unlock()
method throws ConcurrentModificationException
if the ownership of the lock is expired.
See JDBC Support for more information.
ZeroMQ Changes
The outbound component ZeroMqMessageHandler
(and respective API) can now bind a TCP port instead of connecting to a given URL.
See ZeroMQ Support for more information.
Redis Changes
Instead of throwing IllegalStateException
, the RedisLockRegistry.RedisLock.unlock()
method throws ConcurrentModificationException
if the ownership of the lock is expired.
See Redis Support for more information.
Groovy Changes
The ControlBusFactoryBean
(and respective <int-groovy:control-bus>
XML tag) has been deprecated (for removal) in favor of new introduced ControlBusFactoryBean
based on a new model implemented in the ControlBusCommandRegistry
.
See Control Bus for more information.
SFTP Support Changes
The DefaultSftpSessionFactory
now exposes a Consumer<SshClient>
configurer property to further customize an internal SshClient
.
See SFTP Session Factory for more information.
MQTT Support Changes
Multiple instances of MqttPahoMessageDrivenChannelAdapter
and Mqttv5PahoMessageDrivenChannelAdapter
can now be added at runtime using corresponding ClientManager
through IntegrationFlowContext
See MQTT Support for more information.