发布于 2016-02-18 00:28:58 | 89 次阅读 | 评论: 0 | 来源: 网友投递
Spring AMQP 消息解决方案
Spring AMQP 是基于 Spring 框架的 AMQP 消息解决方案,提供模板化的发送和接收消息的抽象层,提供基于消息驱动的 POJO。同时有 Java 和 .NET 的版本。
Spring AMQP 1.6.0 M1 和 1.5.4 发布,其中 1.6 版本主要改进内容包括:
A new jar spring-rabbit-test
containing a test harness to help with testing @RabbitListener
methods; see the testing chapter.
Multiple @RabbitListener
annotations on a method (when using Java 8) and the @RabbitListeners
annotation (for pre-Java 8), each allowing the same method to be the listener method for multiple listener containers.
Full support for the Delayed Message Exchange RabbitMQ plugin.
An AsyncRabbitTemplate
returning ListenableFuture<?>
for request/reply messaging.
An option to publish ApplicationEvents
when listener containers go idle.
完整的新特性列表请看 What’s new? 以及 JIRA Release Notes.
而 1.5.4.RELEASE 主要是小的 bug 修复,详情请看 minor bug fixes.