如需使用最新稳定版本,请使用 Spring Integration 7.0.4spring-doc.cadn.net.cn

什么是新内容?

对于那些已经熟悉 Spring Integration 的开发者,本章简要介绍了 6.3 版本的新特性。spring-doc.cadn.net.cn

如果您对早期版本中引入的更改和功能感兴趣,请参阅变更历史记录spring-doc.cadn.net.cn

Spring Integration 6.3 有什么新特性?

如果您想了解更多详细信息,请参阅作为 6.3 开发过程一部分解决的事项跟踪器工单。spring-doc.cadn.net.cn

通常,该项目已迁移至最新的依赖版本。spring-doc.cadn.net.cn

新组件

常规变更

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.spring-doc.cadn.net.cn

所有基于UnicastingDispatcherMessageChannel实现现在都可以通过Predicate<Exception> failoverStrategy进行配置,以便在从当前MessageHandler抛出的异常发生时进行故障转移的动态决策。 有关更多信息,请参阅消息通道配置spring-doc.cadn.net.cn

安全支持变更

spring-integration-security模块已被完全移除(此前已弃用),转而使用spring-security-messaging模块提供的API。 有关更多信息,请参阅Spring Integration中的安全性spring-doc.cadn.net.cn

MQTT 支持变更

基于 MqttSubscription API 的细粒度配置已暴露于 Mqttv5PahoMessageDrivenChannelAdapter。 有关更多信息,请参阅 MQTT 支持spring-doc.cadn.net.cn

测试支持变更

The MockIntegrationContext.substituteTriggerFor() API has been introduced. See Testing Support for more information.spring-doc.cadn.net.cn

JMS 支持变更

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.spring-doc.cadn.net.cn