Spring AMQP 2.0.0.M3 发布了,包括一系列 bug 修复和一些新特性。
主要更改如下:
- Initial support for broker-less integration testing – the
TestRabbitTemplatediscovers listener containers in the application context and invokes those containers’ listeners forsend()andsendAndReceive()operations. We intend to flush out this capability with more features before GA, including routing, and simulation of the various exchange types supported by RabbitMQ. Feedback is welcome. - Rollback with an external transaction manager is now consistent with local transactions.
- The 4.1.x
amqp-clientlibrary is now the default. - The
RabbitTemplatenow has aninvoke()method which allows multiple operations to be performed sequentially on the same channel. This also enables features such aswaitForConfirmsOrDie()provided by the underlying library, when sending multiple messages to the same channel. nullmessage properties are no longer included intoString()which makes debug logs easier to read.@QueueBindingannotations now support multiple routing keys, and support custom exchange types.
关于 2.0 版本的更新信息, 还可以浏览 2.0.0.M1 、 2.0.0.M2, 以及 2.0.0.M3。
转自 http://www.oschina.net/news/83535/spring-amqp-2-0-0-m-3
Linuxeden开源社区