发布于 2017-01-20 00:50:32 | 153 次阅读 | 评论: 0 | 来源: 网友投递
Spring AMQP 消息解决方案
Spring AMQP 是基于 Spring 框架的 AMQP 消息解决方案,提供模板化的发送和接收消息的抽象层,提供基于消息驱动的 POJO。同时有 Java 和 .NET 的版本。
Spring AMQP 1.7.0 和 1.6.7 发布了。Spring AMQP 是基于 Spring 框架的 AMQP 消息解决方案,提供模板化的发送和接收消息的抽象层,提供基于消息驱动的 POJO。
此版本主要是 1.6.x
和 2.0
之间的中间版本,为了兼容 Spring Boot 1.5
和 IO Platform Brussels
的依赖关系。
一些新功能和改进:
Upgrade to Amqp Client 4.0 with appropriate RabbitConnectionFactoryBean
changes
Upgrade to Log4j 2.7 and required breaking change fix for the log4j2.AmqpAppender
Upgrade to Spring Retry 1.2 with important StatefulRetryOperationsInterceptor.setUseRawKey(true)
for backward compatibility
a new spring-rabbit-junit
artifact is provided with several utilities (like BrokerRunning
@Rule
) which can be useful for testing Spring AMQP applications
The SimpleMessageListenerContainer
can now be started without queues to listen to at all. They can be provided later at runtime via addQueues()
a ConnectionNameStrategy
is provided for the ConnectionFactory
to allow to identify application connections in the Broker or other monitoring and tracing tools
此外,还包括几个错误修复以及为 RabbitTemplate
添加新的 CorrelationDataPostProcessor
以使得在发生消息转换之后能够为发布者确认相关数据的创建/更新。
此功能也可以在 1.6.7 维护版本中使用,现在已发布。
GitHub 发行页面
https://github.com/spring-projects/spring-amqp/releases/tag/v1.6.7.RELEASE
https://github.com/spring-projects/spring-amqp/releases/tag/v1.7.0.RELEASE
下载地址
1.6.7
1.7.0