11 ActiveMQ代理功能实战
11 ActiveMQ broker features in action
11 ActiveMQ代理功能实战
?
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
使用通配符和复杂消息目的地
使用advisory消息
理解虚拟主题和可追溯消息消费者
使用ActiveMQ插件
介绍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.?
?
前面章节中,我们了解了如何在企业级应用环境中部署ActiveMQ,同时介绍了如何部署高可用性
ActiveMQ以及如如何在地理上分散的不同地点之间传送消息.
?
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.?
?
本章中,我们将介绍ActiveMQ消息代理的更多的高级配置选项.我们将看到如何使用通配符从而
从多个消息目的地接收消息,以及如何使用组合消息目的地同时将消息发送到多个消息目的地.
?
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.
?
我们将展示如何激活针对ActiveMQ代理状态的监听,以及如何使用advisory消息移除客户端或加入
新客户端.我们还将了解的其他高级特性还包括使用虚拟主题以便通过一个主题广播消息,同时使用
一个负载均衡队列来分发消息.我还将看到如何重新分发消息,dead-letter队列以及如何使用拦截器插件
来扩展ActiveMQ代理的功能.最后,我们将介绍一个流行的框架 --Apache Camel,这个框架可以嵌入到
ActiveMQ代理中用来创建一个强大的集成引擎以扩展ActiveMQ的灵活性和路由能力.
?
In the first section, we’ll look at how to send and receive messages from more than
one destination at a time, using composite destinations and wildcards.
?
首先,我们将看到如何使用通配符发送消息到多个消息目的地,以及如何使用组合消息目的地从多个目的地接收消息.
?