下载 >  开发技术 >  Web开发 > 《activmq in action 》

《activmq in action 》

2010-02-10 上传大小:4.87MB
I. An Introduction to Messaging and ActiveMQ ............................................. 1
1. Introduction to Apache ActiveMQ ....................................................... 2
1.1. What is ActiveMQ? ..................................................................... 2
1.1.1. ActiveMQ Features ........................................................... 3
1.1.2. Why Use ActiveMQ? ........................................................ 5
1.1.3. When and Where to Use ActiveMQ .................................. 8
1.2. Ge
                            tting Started With ActiveMQ ............................................... 10
1.2.1. Download and Install the Java SE ................................... 10
1.2.2. Download ActiveMQ ...................................................... 11
1.2.3. Examining the ActiveMQ Directory ............................... 11
1.2.4. Starting Up ActiveMQ .................................................... 13
1.2.5. Verifying Your ActiveMQ Setup With the Examples .... 15
1.3. Summary ................................................................................... 20
2. Understanding Message-Oriented Middleware and JMS ................... 21
2.1. Introduction to Enterprise Messaging ....................................... 22
2.2. What is Message Oriented Middleware? .................................. 25
2.3. What is the Java Message Service? ........................................... 27
2.3.1. Messaging Clients ........................................................... 30
2.3.2. The JMS Provider ............................................................ 32
2.3.3. Anatomy of a JMS Message ............................................ 33
2.3.4. Message Selectors ........................................................... 40
2.3.5. JMS Domains .................................................................. 44
2.3.6. Administered Objects ...................................................... 49
2.3.7. Using the JMS APIs to Create JMS Applications ........... 50
2.3.8. Message-Driven Beans .................................................... 55
2.4. Summary ................................................................................... 57
3. The ActiveMQ In Action Examples ................................................... 59
3.1. Understanding the Example Use Cases ..................................... 59
3.1.1. Prerequisites .................................................................... 60
3.1.2. ActiveMQ In Action Examples ....................................... 63
3.2. Summary ................................................................................... 77
II. How to Configure ActiveMQ .................................................................... 78
4. Connecting to ActiveMQ .................................................................... 79
Draft Draft
Please post comments or corrections to the Author Online Forum Licensed to JEROME RAYMOND <pedbro@gmail.com>
Download at WoweBook.Com
4.1. Understanding Connector URIs ................................................ 79
4.2. Configuring Transport Connectors ........................................... 82
4.2.1. Using Transport Connectors ............................................ 84
4.2.2. Using Network Protocols ................................................ 87
4.2.3. Using the Virtual Machine Protocol .............................. 105
4.3. Configuring Network Connectors ........................................... 108
4.3.1. Defining Static Networks .............................................. 111
4.3.2. Defining Dynamic networks ......................................... 119
4.4. Summary ................................................................................. 128
5. Message Persistence .......................................................................... 129
5.1. How Are Messages Stored by ActiveMQ? ............................. 129
5.2. Available Message Stores in ActiveMQ ................................. 131
5.2.1. The AMQ Message Store .............................................. 132
5.2.2. The KahaDB Message Store ......................................... 140
5.2.3. The JDBC Message Store ............................................. 144
5.2.4. The Memory Message Store ......................................... 150
5.3. Caching Messages in the Broker for Consumers .................... 152
5.3.1. How Message Caching for Consumers Works ............. 152
5.3.2. The ActiveMQ Subscription Recovery Policies ........... 153
5.3.3. Configuring The Subscription Recovery Policy ........... 156
5.4. Summary ................................................................................. 157
6. Securing ActiveMQ .......................................................................... 158
6.1. Introducing Basic Security Concepts ...................................... 158
6.2. Authentication ......................................................................... 159
6.2.1. Configuring the Simple Authentication Plugin ............. 159
6.2.2. Configuring the JAAS Plugin ....................................... 161
6.3. Authorization ........................................................................... 164
6.3.1. Operation Level Authorization ...................................... 164
6.3.2. Message Level Authorization ........................................ 167
6.4. Broker Level Operations ......................................................... 169
6.4.1. Building A Custom Security Plugin .............................. 170
6.5. Summary ................................................................................. 174
III. Using ActiveMQ to Build Messaging Applications .............................. 175
7. Creating Java Applications With ActiveMQ .................................... 176
Draft ActiveMQ In Action Draft
Please post comments or corrections to the Author Online Forum Licensed to JEROME RAYMOND <pedbro@gmail.com>
Download at WoweBook.Com
7.1. Integrating Broker ................................................................... 176
7.1.1. Embedding The Broker ................................................. 176
7.1.2. Integrating With Spring Framework ............................. 180
7.2. Summary ................................................................................. 193
8. Embedding ActiveMQ In Other Java Containers ............................. 195
8.1. Introduction ............................................................................. 195
8.2. .................................................................................................. 195
8.3. Summary ................................................................................. 196
9. Connecting to ActiveMQ With Other Languages ............................. 197
9.1. Preparing Examples ................................................................ 197
9.2. Communicating with the STOMP protocol ............................ 200
9.2.1. Writing Ruby client ....................................................... 204
9.2.2. Creating Python client ................................................... 207
9.2.3. Building PHP client ....................................................... 212
9.2.4. Implementing Perl client ............................................... 214
9.2.5. Understanding Stomp transactions ................................ 216
9.2.6. Working with Durable Topic Subscribers ..................... 220
9.3. Learning NMS (.Net Message Service) API ........................... 223
9.4. Introducing CMS (C++ Messaging Service) API ................... 225
9.5. Messaging on the Web ............................................................ 230
9.5.1. Using REST API ........................................................... 230
9.5.2. Understanding Ajax API ............................................... 234
9.6. Summary ................................................................................. 239
IV. Advanced Features in ActiveMQ .......................................................... 241
10. Broker Topologies ........................................................................... 242
10.1. ................................................................................................ 242
10.2. Broker High Availability ....................................................... 242
10.2.1. Shared Nothing Master/Slave ...................................... 242
10.2.2. Shared Database Master/Slave .................................... 246
10.2.3. Shared File system Master/Slave ................................ 248
10.3. Networks of Brokers ............................................................. 250
10.3.1. Store and Forward ....................................................... 250
10.3.2. Network Discovery ..................................................... 255
10.3.3. Network Configuration ............................................... 258
Draft ActiveMQ In Action Draft
Please post comments or corrections to the Author Online Forum Licensed to JEROME RAYMOND <pedbro@gmail.com>
Download at WoweBook.Com
10.4. Scaling Applications ............................................................. 263
10.4.1. Vertical Scaling ........................................................... 263
10.4.2. Horizontal Scaling ....................................................... 267
10.4.3. Traffic Partitioning ...................................................... 268
10.5. Summary ............................................................................... 269
11. Advanced ActiveMQ Broker Features ............................................ 270
11.1. Introduction ........................................................................... 270
11.2. Wildcards and Composite Destinations ................................ 270
11.2.1. Subscribing to Wildcard Destinations ......................... 270
11.2.2. Sending a Message to Multiple Destinations .............. 272
11.3. Advisory Messages ............................................................... 273
11.4. Virtual Topics ........................................................................ 276
11.5. Retroactive Consumers ......................................................... 278
11.6. Message Redelivery and Dead-letter Queues ....................... 280
11.7. Summary ............................................................................... 282
12. Advanced Client Options ................................................................ 283
12.1. Exclusive Consumer .............................................................. 283
12.1.1. Exclusive Consumer Example .................................... 285
12.2. Message Groups .................................................................... 287
12.3. ActiveMQ Streams ................................................................ 290
12.4. Blob Messages ...................................................................... 292
12.5. Summary ............................................................................... 294
13. Tuning ActiveMQ For Performance ............................................... 295
13.1. General Techniques ............................................................... 295
13.1.1. Persistent vs Non-Persistent Messages ....................... 296
13.1.2. Transactions ................................................................ 298
13.1.3. Embedding Brokers ..................................................... 299
13.1.4. Tuning the OpenWire protocol ................................... 302
13.1.5. Tuning the TCP Transport ........................................... 305
13.2. Optimizing Message Producers ............................................. 305
13.2.1. Asynchronous send ..................................................... 306
13.2.2. Producer Flow Control ................................................ 307
13.3. Optimizing Message Consumers ........................................... 309
13.3.1. Prefetch Limit .............................................................. 310
Draft ActiveMQ In Action Draft
Please post comments or corrections to the Author Online Forum Licensed to JEROME RAYMOND <pedbro@gmail.com>
Download at WoweBook.Com
13.3.2. Delivery and Acknowledgement of messages ............. 313
13.3.3. Asynchronous dispatch ............................................... 315
13.4. Putting it all Together ............................................................ 318
13.5. Summary ............................................................................... 322
14. Administering and Monitoring ActiveMQ ..................................... 323
14.1. APIs ....................................................................................... 323
14.1.1. JMX ............................................................................. 324
14.1.2. Advisory Messages ..................................................... 342
14.2. Tools ...................................................................................... 350
14.2.1. Command-Line Tools ................................................. 350
14.2.2. Command Agent ......................................................... 357
14.2.3. JConsole ...................................................................... 361
14.2.4. Web Console ............................................................... 365
14.3. Logging ................................................................................. 367
14.3.1. Client Logging ............................................................. 370
14.3.2. Logging Interceptor ..................................................... 372
14.4. Summary ............................................................................... 373                        
...展开收缩
综合评分:5
开通VIP 立即下载

评论共有1条

memory_chen 2013-09-12 14:25:45
不错的AMQ文档,是正宗英文版源文档,值得收藏!!!
 
C# ActivMQ通信应用实例 立即下载
积分/C币:3
activemq的应用.dll 立即下载
积分/C币:3
AngularJs in Action 立即下载
积分/C币:10
lucene in action 立即下载
积分/C币:3
Grails in Action 立即下载
积分/C币:3
seam_in_action 立即下载
积分/C币:3
Spring in action 2nd 立即下载
积分/C币:3
Manning.EJB.3.0.in.Action 立即下载
积分/C币:3
struts2 in action 立即下载
积分/C币:3
eclips in action 立即下载
积分/C币:3

VIP会员动态

0 1 2
关闭
img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
点击完成任务获取下载码
输入下载码
为了良好体验,不建议使用迅雷下载
img

《activmq in action 》

会员到期时间: 剩余下载个数: 剩余C币: 剩余积分:0
为了良好体验,不建议使用迅雷下载
VIP下载
您今日下载次数已达上限(为了良好下载体验及使用,每位用户24小时之内最多可下载20个资源)

积分不足!

资源所需积分/C币 当前拥有积分
您可以选择
开通VIP
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
为了良好体验,不建议使用迅雷下载
确认下载
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
为了良好体验,不建议使用迅雷下载
开通VIP
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
确认下载
下载
无法举报自己的资源

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

若举报审核通过,可返还被扣除的积分

  • 举报人:
  • 被举报人:
  • 举报的资源分:
  • *类型:
  • *详细原因: