Spring Integration 4.1 Milestone 1 包括一些新特性,系统改进和 bug 修复,GA 版本将会在十月底发布。
改进列表:
migration of additional Spring Integration APIs to the Core Spring Messaging module and the Spring Integration equivalents are deprecated
or removed to avoid confusion in the target applications;
a number of Messaging performance improvements have been included in Spring Framework 4.1.
Spring Framework 4.1 introduced the SpEL Compiler. It is very useful for Spring Integration, which extensively uses SpEL at runtime. You can enable the SpEL Compiler using thespring.expression.compiler.mode System Property with a value of IMMEDIATE or MIXED.
WebSocket Adapters
引入了 WebSocket Inbound 和 Outbound Channel Adapters。
另一个简单集成 Spring WebSockets 和 STOMP 子协议的方法,但是使用集成流来处理请求和发送响应,这是基于 @MessageMapping 注释的,但是在 @MessagingGateway 接口
另外,还支持 Spring Framework ListenableFuture> gateway 方法返回类型。
Boon JSON mapper
JSON 转换器添加了 Boon JsonObjectMapper 实现。
Splitter Iterator
这里包含两个维护版本:3.0.5 和 4.0.4。强烈建议各位用户升级到最新版本!
一些新特性下周将会出现在 SpringOne,请继续关注 Gary Russell's Session。
Spring Integration能在基于Spring的应用中进行简单的消息通信,并通过简单的适配器与外部系统集成。这些适配器提供了一个更高级别的抽象,超越 了Spring对远程调用、消息和调度的支持。其主要目标是在保持关注点分离的同时,为构建企业集成解决方案提供一个简单的模型,该模型对产出可维护、可 测试的代码来说是必不可少的。
下载地址:http://repo.spring.io/milestone/org/springframework/integration/spring-integration/4.1.0.M1
来自:开源中国社区

