手机版
你好,游客 登录 注册
背景:
阅读新闻

Spring AMQP 1.3.0 RC1 for Java 发布

[日期:2014-03-08] 来源:oschina.net  作者:Linux [字体:大 中 小]

Spring AMQP 1.3.0 RC1 for Java 发布,此版本主要更新内容如下:

  • Listener Container

    • The listener container concurrency can be changed without first stopping the container and the listeners will be adjusted accordingly

    • The listener container can dynamically adjust the concurrent consumers, based on workload

    • The listener container now supports consumer priority (with RabbitMQ 3.2.x or greater)

    • The listener container now supports the configuration of an exclusive consumer

  • Rabbit Template

    • The RabbitTemplate now has several convenient receiveAndReply methods

    • The RabbitTemplate can now be configured with a RetryTemplate, enabling clients to not have to deal directly with broker connectivity issues.

  • Connection Factory

    • The Connection Factory can now cache connections rather than all users sharing the same connection (and, since M2, channels can be cached within cached connections)

    • There is now a SimpleRoutingConnectionFactory to determine which connection factory to use at runtime

  • Other Key Features

    • A fluent Java API is now provided to build a Message (and MessageProperties)

    • A fluent Java API is now provided for building a listener container retry interceptor

    • When using a retry interceptor, a new RepublishMessageRecoverer is available to republish failed messages (with stack trace) to another exchange

更多更新内容请看 What's new ,前往这里可以查看相关文档。相关链接如下:

Spring AMQP 是基于 Spring 框架的 AMQP 消息解决方案,提供模板化的发送和接收消息的抽象层,提供基于消息驱动的 POJO。同时有 Java 和 .NET 的版本。

linux
相关资讯       Spring AMQP 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款