|
如需使用最新稳定版本,请使用 Spring Integration 7.0.4! |
6.2 与 6.3 版本之间的变更
常规变更
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抛出的异常发生时进行故障转移的动态决策。
有关更多信息,请参阅消息通道配置。
安全支持变更
spring-integration-security模块已被完全移除(此前已弃用),转而使用spring-security-messaging模块提供的API。
有关更多信息,请参阅Spring Integration中的安全性。
MQTT 支持变更
基于 MqttSubscription API 的细粒度配置已暴露于 Mqttv5PahoMessageDrivenChannelAdapter。
有关更多信息,请参阅 MQTT 支持。
测试支持变更
The MockIntegrationContext.substituteTriggerFor() API has been introduced.
See Testing Support for more information.
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.