Spring Integration 4.0 Milestone 2(M2)于2013年10月左右发布,是Spring Integration 4.0版本的第二个里程碑版本

张开发
2026/4/20 12:30:12 15 分钟阅读

分享文章

Spring Integration 4.0 Milestone 2(M2)于2013年10月左右发布,是Spring Integration 4.0版本的第二个里程碑版本
Spring Integration 4.0 Milestone 2M2于2013年10月左右发布是Spring Integration 4.0版本的第二个里程碑版本。该版本引入了多项重要更新与改进主要包括全面支持Java 8包括Lambda表达式、方法引用等语法特性部分API开始适配函数式编程风格Reactive Streams 集成初步探索为后续与Project Reactor及响应式编程模型的整合奠定基础虽正式响应式支持在5.0才完善增强的Stream/Files/FTP/SFTP模块如Files模块新增FileReadingMessageSource的递归扫描支持、SFTP会话缓存优化Kafka Binder 预研支持非官方正式绑定社区早期实验性集成DSLDomain Specific Language增强Java DSL 提供更流畅的流定义方式例如IntegrationFlow.from(...).handle(...).get()弃用旧API如部分基于MessageHandler子类的模板化组件被标记为Deprecated推荐使用ServiceActivator或DSL构建测试支持升级IntegrationTestUtils和MockIntegration工具类增强便于单元测试消息流。注意Milestone版本属于预发布版本不建议用于生产环境最终稳定版 Spring Integration 4.0 GA 发布于2014年4月。Spring Integration 4.0 Milestone 2 is Now AvailableFollowing the recent 3.0.0.RELEASE, we are pleased to announce that the second (first public) milestone of Spring Integration 4.0 is now available.As mentioned in the 3.0 Release Candidate Announcement the recent Spring Integration 3.0 release is fully compatible with Spring Framework 4.0, but it does not use the spring-messaging module. This allows Spring Integration 3.0 to be used with earlier versions of Spring Framework.The 4.0 stream from which this milestone is built replaces all the core Spring Integration messaging abstractions with those in the spring-messaging module. The reason for another major release so soon after 3.0 is based on the fact that existing applications that directly use the affected SI classes in their code will need to convert to the Spring Framework abstractions. For the most part, this just means package changes in import statements, but full details are provided in the Migration Guide. Users who don’t directly reference the classes, and use the namespace support for all configuration, will not be affected.This early milestone is functionally equivalent to the recent 3.0.0.RELEASE and is provided for those users that want to develop against Spring Framework 4 and/or directly process STOMP messages with a Spring Integration flow.Changes since 3.0.0.RELEASE can be seen in the release notes.The master Github branch is now for 4.0 development; the 3.0 code base can be found on the 3.0.x branch.comments powered by Disqus

更多文章