取得領先
VMware 提供培訓和認證,以加速您的進度。
了解更多親愛的 Spring 社群:
我代表 Spring Integration 團隊,很高興宣布 6.3.0-M2
版本的專案已從 Spring Milestone Repository 取得。
此外,錯誤修復版本 6.1.7
& 6.2.3
也已發布至 Maven Central。
6.3
中的顯著變更
Kotlin DSL 現在與即將推出的 Kotlin 2.0 相容
spring-integration-security
模組已完全移除,改用 Spring Security 專案的 spring-security-messaging
模組中的 SecurityContextChannelInterceptor
& SecurityContextPropagationChannelInterceptor
ObservationPropagationChannelInterceptor
已被棄用,因為它無法在執行緒之間甚至持久性儲存之間進行適當的觀察狀態。
相反地,必須在 MessageChannel
和相應的 MessageHandler
上啟用觀察,作為此通道的訂閱者。 這樣,追蹤資訊會使用 PRODUCER
& CONSUMER
種類的 span,透過訊息標頭傳播。
MessageHistory
標頭現在是可變的,在我們不在每次追蹤時建立新訊息時,可以提高效能
基於 UnicastingDispatcher
的 MessageChannel
實作現在可以使用 Predicate<Exception> failoverStrategy
進行配置,以便在從目前的 MessageHandler
擲回例外時,動態決定是否容錯移轉
Mqttv5PahoMessageDrivenChannelAdapter
現在使用訂閱識別碼來支援共用訂閱
新增了新的 MockIntegrationContext.substituteTriggerFor()
API,用於測試模組,以便在測試期間輕鬆調整基於時間的配置。
非常感謝所有貢獻者!
祝您愉快,Artem