Contents


preface
acknowledgments
about this book

Part 1 An introduction to messaging and ActiveMQ

Chapter 1 Introduction to Apache ActiveMQ
ActiveMQ features
Using ActiveMQ: why and when?
Getting started with ActiveMQ Running your first examples with ActiveMQ
Summary
Chapter 2 Understanding message-oriented middleware and JMS
Introduction to enterprise messaging
What’s message-oriented middleware?
What’s the Java Message Service?
The JMS specification
Using the JMS APIs to create JMS applications
Summary
Chapter 3 The ActiveMQ in Action examples
Downloading Maven and compiling the examples
Use case one: the stock portfolio example
Use case two: the job queue example
Summary

Part 2 Configuring standard ActiveMQ components

Chapter 4 Connecting to ActiveMQ
Understanding connector URIs
Transport connectors
Connecting to ActiveMQ over the network
Connecting to ActiveMQ inside the virtual machine (VM connector)
Network connectors
Summary
Chapter 5 ActiveMQ message storage
How are messages stored by ActiveMQ?
The KahaDB message store
The AMQ message store
The JDBC message store
The memory message store
Caching messages in the broker for consumers
Summary
Chapter 6 Securing ActiveMQ
Authentication
Authorization
Building a custom security plug-in
Certificate-based security
Summary

Part 3 Using ActiveMQ to build messaging applications

Chapter 7 Creating Java applications with ActiveMQ
Embedding ActiveMQ using Java
Embedding ActiveMQ using Spring
Implementing request/reply with JMS
Writing JMS clients using Spring
Summary
Chapter 8 Integrating ActiveMQ with application servers
The sample web application
Integrating with Apache Tomcat
Integrating with Jetty
Integrating with Apache Geronimo
Integrating with JBoss
ActiveMQ and JNDI
Summary
Chapter 9 ActiveMQ messaging for other languages
Adapting the stock portfolio example
Messaging for scripting languages
Messaging for compiled languages
Messaging on the web with ActiveMQ
Summary

Part 4 Advanced features in ActiveMQ

Chapter 10 Deploying ActiveMQ in the enterprise
Configuring ActiveMQ for high availability
How ActiveMQ passes messages across a network of brokers
Deploying ActiveMQ for large numbers of concurrent applications
Summary
Chapter 11 ActiveMQ broker features in action
Wildcards and composite destinations
Advisory messages
Supercharge JMS topics by going virtual
Retroactive consumers
Message redelivery and dead-letter queues
Extending functionality with interceptor plug-ins
Routing engine with Apache Camel framework
Summary
Chapter 12 Advanced client options
Exclusive consumers
Message groups
ActiveMQ streams
Blob messages
Surviving network or broker failure with the failover protocol
Scheduling messages to be delivered by ActiveMQ in the future
Summary
Chapter 13 Tuning ActiveMQ for performance
General techniques
Optimizing message producers
Optimizing message consumers
Tuning in action
Summary
Chapter 14 Administering and monitoring ActiveMQ
The JMX API and ActiveMQ
Monitoring ActiveMQ with advisory messages
Tools for ActiveMQ administration
Configuring ActiveMQ logging
Summary