`

7.2 Spring中集成 ActiveMQ

 
阅读更多

博客搬家,更好阅读体验,猛戳 http://www.jack-yin.com/english/translation/activemq-in-action/1552.html

 

7.2 Embedding ActiveMQ using Spring

7.2 Spring中集成 ActiveMQ

 

ActiveMQ is developed with Spring in mind. In fact, ActiveMQ uses a Spring XML configuration

file by default. This makes it easy to embed an ActiveMQ broker in Springenabled

applications. This section will explore numerous methods for utilizing

ActiveMQ with Spring. Although there are advantages and disadvantages to some

methods, and some are recommended more than others, no single method is the best

one. The decision on which method to use typically can be made by considering your

application and system architecture, the skill set of your developers, and the difficulty

to maintain the solution once it’s deployed to your production systems.

 

ActiveMQ是基于Spring思想开发的.实际上,默认情况下ActiveMQ使用Spring格式的XML配置文件.这样

可以很容易的将ActiveMQ代理嵌入到使用Spring的程序中.本节将介绍几种在Spring中使用ActiveMQ

的方法,这些方法各有优缺点,其中一些方法比其他的更值得推荐,不存在某个最好好的方法.开发时具体使用

那种方法取决于你的程序和系统架构,开发人员技术水平以及应用部署到生成系统后系统维护方案的难易

程度.

 

7.2.1 Pure Spring XML

7.2.1 纯Spring XML配置

 

......

分享到:
评论

相关推荐

    Spring in Action(第二版 中文高清版).part2

    10.1.3 在Spring中安装ActiveMQ 10.2 协同使用JMS和Spring 10.2.1 处理冗长失控的JMS代码 10.2.2 使用JMS模板 10.2.3 转换消息 10.2.4 将Spring的网关支持类应用于JMS 10.3 创建消息驱动POJO 10.3.1 创建...

    Spring in Action(第二版 中文高清版).part1

    10.1.3 在Spring中安装ActiveMQ 10.2 协同使用JMS和Spring 10.2.1 处理冗长失控的JMS代码 10.2.2 使用JMS模板 10.2.3 转换消息 10.2.4 将Spring的网关支持类应用于JMS 10.3 创建消息驱动POJO 10.3.1 创建...

    Spring in Action(第2版)中文版

    10.1.3在spring中安装activemq 10.2协同使用jms和spring 10.2.1处理冗长失控的jms代码 10.2.2使用jms模板 10.2.3转换消息 10.2.4将spring的网关支持类应用于jms 10.3创建消息驱动pojo 10.3.1创建消息监听器 ...

    ActiveMQ快速上手

    **13.2 集成ActiveMQ和Tomcat** - **功能介绍**:在Tomcat应用服务器中部署ActiveMQ。 - **应用场景**:构建基于Web的应用程序。 **13.3 使用场景** - **应用场景**:适用于需要高并发、低延迟消息传递的场景。 ...

    Java高级架构必备知识点

    - **ActiveMQ-JMS规范及使用**:了解JMS规范和ActiveMQ的使用。 - **Kafka实现原理剖析**:深入理解Kafka的设计原理。 **7.7 分布式缓存分析对比** - **Memcache的原理分析及使用**:比较Memcache和Redis的不同之...

Global site tag (gtag.js) - Google Analytics