Chapter 11. ActiveMQ broker features in action
This chapter covers
- Using wildcards and composite destinations
- Utilizing advisory messages
- Understanding virtual topics and retroactive consumers
- Using ActiveMQ plug-ins
- An introduction to Apache Camel
In the previous chapter we looked at deploying ActiveMQ in enterprise environments: how to deploy ActiveMQ for high availability and for passing messages across geographically dispersed locations. In this chapter we’ll look at some of the more advanced configuration options for the ActiveMQ message broker. We’ll look at receiving messages from multiple destinations using wildcards, and sending messages to multiple destinations at the same time using composite destinations. We’ll show how to actively listen for changes in the state of the ActiveMQ broker and for clients leaving and joining by using advisory messages. Other advanced features of the broker we’ll look at include virtual topics, which let you broadcast messages over a topic, but have load balanced queues dispatch the messages. We’ll also look at message redelivery and dead-letter queues, and how to extend the functionality of the ActiveMQ broker with interceptor plug-ins. Finally, we’ll introduce Apache Camel, the popular integration framework, which can be embedded into an ActiveMQ broker to create a powerful integration engine and extend the flexibility and routing of ActiveMQ.