ActiveMQ in Action
Bruce Snyder, Dejan Bosanac, and Rob Davies
  • March 2011
  • ISBN 9781933988948
  • 408 pages
  • printed in black & white

Covers everything you need to know about ActiveMQ.

Pratik Patel, AT&T

ActiveMQ in Action is all you'll need to master ActiveMQ. It starts from the anatomy of a JMS message and moves quickly through connectors, message persistence, authentication, and authorization. By following a running example (a stock portfolio app), you'll pick up the best practices distilled by the authors from their long and deep involvement with this technology.

About the Technology

The Apache ActiveMQ message broker is an open source implementation of the Java Message Service spec. It makes for a reliable hub in any message-oriented enterprise application and integrates beautifully with Java EE containers, ESBs, and other JMS providers.

Table of Contents detailed table of contents



about this book

Part 1 An introduction to messaging and ActiveMQ

1. Chapter 1 Introduction to Apache ActiveMQ

1.1. ActiveMQ features

1.2. Using ActiveMQ: why and when?

1.3. Getting started with ActiveMQ Running your first examples with ActiveMQ

1.4. Summary

2. Chapter 2 Understanding message-oriented middleware and JMS

2.1. Introduction to enterprise messaging

2.2. What’s message-oriented middleware?

2.3. What’s the Java Message Service?

2.4. The JMS specification

2.5. Using the JMS APIs to create JMS applications

2.6. Summary

3. Chapter 3 The ActiveMQ in Action examples

3.1. Downloading Maven and compiling the examples

3.2. Use case one: the stock portfolio example

3.3. Use case two: the job queue example

3.4. Summary

Part 2 Configuring standard ActiveMQ components

4. Chapter 4 Connecting to ActiveMQ

4.1. Understanding connector URIs

4.2. Transport connectors

4.3. Connecting to ActiveMQ over the network

4.4. Connecting to ActiveMQ inside the virtual machine

(VM connector) === Network connectors === Summary

5. Chapter 5 ActiveMQ message storage

5.1. How are messages stored by ActiveMQ?

5.2. The KahaDB message store

5.3. The AMQ message store

5.4. The JDBC message store

5.5. The memory message store

5.6. Caching messages in the broker for consumers

5.7. Summary

6. Chapter 6 Securing ActiveMQ

6.1. Authentication

6.2. Authorization

6.3. Building a custom security plug-in

6.4. Certificate-based security

6.5. Summary

Part 3 Using ActiveMQ to build messaging applications

7. Chapter 7 Creating Java applications with ActiveMQ

7.1. Embedding ActiveMQ using Java

7.2. Embedding ActiveMQ using Spring

7.3. Implementing request/reply with JMS

7.4. Writing JMS clients using Spring

7.5. Summary

8. Chapter 8 Integrating ActiveMQ with application servers

8.1. The sample web application

8.2. Integrating with Apache Tomcat

8.3. Integrating with Jetty

8.4. Integrating with Apache Geronimo

8.5. Integrating with JBoss

8.6. ActiveMQ and JNDI

8.7. Summary

9. Chapter 9 ActiveMQ messaging for other languages

9.1. Adapting the stock portfolio example

9.2. Messaging for scripting languages

9.3. Messaging for compiled languages

9.4. Messaging on the web with ActiveMQ

9.5. Summary

Part 4 Advanced features in ActiveMQ

10. Chapter 10 Deploying ActiveMQ in the enterprise

10.1. Configuring ActiveMQ for high availability

10.2. How ActiveMQ passes messages across a network of brokers

10.3. Deploying ActiveMQ for large numbers of concurrent applications

10.4. Summary

11. Chapter 11 ActiveMQ broker features in action

11.1. Wildcards and composite destinations

11.2. Advisory messages

11.3. Supercharge JMS topics by going virtual

11.4. Retroactive consumers

11.5. Message redelivery and dead-letter queues

11.6. Extending functionality with interceptor plug-ins

11.7. Routing engine with Apache Camel framework

11.8. Summary

12. Chapter 12 Advanced client options

12.1. Exclusive consumers

12.2. Message groups

12.3. ActiveMQ streams

12.4. Blob messages

12.5. Surviving network or broker failure with the failover protocol

12.6. Scheduling messages to be delivered by ActiveMQ in the future

12.7. Summary

13. Chapter 13 Tuning ActiveMQ for performance

13.1. General techniques

13.2. Optimizing message producers

13.3. Optimizing message consumers

13.4. Tuning in action

13.5. Summary

14. Chapter 14 Administering and monitoring ActiveMQ

14.1. The JMX API and ActiveMQ

14.2. Monitoring ActiveMQ with advisory messages

14.3. Tools for ActiveMQ administration

14.4. Configuring ActiveMQ logging

14.5. Summary

© 2014 Manning Publications Co.

What's inside

  • How to design message-based apps
  • How to implement EI patterns using Camel
  • How to administer ActiveMQ
  • How to integrate with Geronimo, JBoss, Spring, and more

About the reader

This book requires a working knowledge of Java, but no previous experience with ActiveMQ or other message brokers is needed.

About the authors

Bruce Snyder is a co-founder of Apache Geronimo, a committer for ActiveMQ, Camel, and ServiceMix, and a member of various JCP expert groups. Dejan Bosanac is an ActiveMQ committer. Rob Davies is a co-founder of ActiveMQ, ServiceMix, and Camel.

placing your order...

Don't refresh or navigate away from the page.
print book $31.49 $44.99 pBook + eBook + liveBook
Additional shipping charges may apply
Prints and ships within 3-5 days
ActiveMQ in Action (print book) added to cart
continue shopping
go to cart

eBook $25.19 $35.99 3 formats + liveBook
ActiveMQ in Action (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.

FREE domestic shipping on three or more pBooks