没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
381页
Apache ActiveMQ is a message broker for remote communication between systems using the Java Message Service specfification. Although ActiveMQ is written in Java, APIs for many languages than other Java are provided including C/C++, .NET, Perl, PHP, Python, Ruby and many more. This book provides the information needed to understand, configure and use ActiveMQ successfully to meet the requirements of many business applications.
资源推荐
资源详情
资源评论
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. Getting 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 iii
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 iv
Licensed to JEROME RAYMOND <pedbro@gmail.com>
Download at WoweBook.Com
剩余380页未读,继续阅读
leonhd
- 粉丝: 11
- 资源: 51
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页