您好,欢迎光临本网站![请登录][注册会员]  
文件名称: 《activmq in action 》
  所属分类: Web开发
  开发工具:
  文件大小: 4mb
  下载次数: 0
  上传时间: 2010-02-10
  提 供 者: 0fly****
 详细说明: 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 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 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 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 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 ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: activeMq
 输入关键字,在本站1000多万海量源码库中尽情搜索: