What’s New?
对于那些已经熟悉 Spring Integration 的人来说,本章对 6.3 版本的新特性进行了简要概览。
For those who are already familiar with Spring Integration, this chapter provides a brief overview of the new features of version 6.3.
如果您有兴趣了解早期版本中引入的更改和功能,请参阅 Change History。
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.3?
如果您有兴趣了解更详细的信息,请参阅作为 6.3 开发过程的一部分得到解决的 Issue Tracker 提交。
If you are interested in more details, see the Issue Tracker tickets that were resolved as part of the 6.3 development process.
一般来说,该项目已移至最新的依赖版本。
In general the project has been moved to the latest dependency versions.
General Changes
MessageHistory
标头现在是一个不可变的仅追加容器。所有后续轨道都不会创建新消息 - 只有它们的条目被添加到现有消息历史标头。有关更多信息,请参阅 Message History Chapter。
The MessageHistory
header is now mutable, append-only container.
And all the subsequent tracks don’t create new message - only their entry is added to existing message history header.
See Message History Chapter for more information.
所有基于 UnicastingDispatcher
的 MessageChannel
实现现在都可以使用 Predicate<Exception> failoverStrategy
配置,以便对从当前 MessageHandler
抛出的异常进行故障转移的动态决策。有关更多信息,请参阅 Message Channel Configuration。
All the MessageChannel
implementations based on the UnicastingDispatcher
now can be configured with a Predicate<Exception> failoverStrategy
for dynamic decision for the failover on the exception thrown from the current MessageHandler
.
See Message Channel Configuration for more information.
Security Support Changes
在 spring-security-messaging
模块的 API 的支持下,spring-integration-security
模块已被完全移除(之前不推荐使用)。有关更多信息,请参阅 Security in Spring Integration。
The spring-integration-security
module is completely removed (being deprecated previously) in favor of API from spring-security-messaging
module.
See Security in Spring Integration for more information.
MQTT Support Changes
细粒度配置基于 MqttSubscription
API 在 Mqttv5PahoMessageDrivenChannelAdapter
上公开。有关更多信息,请参阅 MQTT Support。
The fine-grained configuration based on MqttSubscription
API is exposed on the Mqttv5PahoMessageDrivenChannelAdapter
.
See MQTT Support for more information.
Testing Support Changes
已引入 MockIntegrationContext.substituteTriggerFor()
API。有关更多信息,请参阅 Testing Support。
The MockIntegrationContext.substituteTriggerFor()
API has been introduced.
See Testing Support for more information.
JMS Support Changes
现在,`ChannelPublishingJmsMessageListener`可以用 `RetryTemplate`和 `RecoveryCallback<Message<?>>`提供重试下游发送操作的信息。有关更多信息,请参阅 Message Driven Channel Adapter。
The ChannelPublishingJmsMessageListener
can now be supplied with a RetryTemplate
and RecoveryCallback<Message<?>>
for retries on the downstream send operations.
See Message Driven Channel Adapter for more information.