12.7 总结
12.7 Summary
12.7 小结
In this chapter we learned about some of the advanced features that an ActiveMQ client
can use above and beyond the JMS specification.
本章中,我们学习了一些ActiveMQ客户端的高级功能,这些功能超过了JMS规范的定义.
We learned about exclusive consumers, and walked through an example of using
them as a distributed locking mechanism to ensure (paradoxically) that only one producer
will be running for a distributed application. We’ve seen the power of using
message groups to group messages together so that they’re consumed by the same
message consumer.
我们学习了排他性的消息消费者,并且分析了一个示例,这个示例使用一个使用排他性消息消费者
实现分布式锁机制以保证在一个分布式应用中同一时间只可运行一个消息生产者.我们还了解了
消息群组的强大功能--使用消息分组以便同一组中的消息可以被同一个消息消费者处理.
We also looked at two different ways of transporting large payloads with ActiveMQ:
ActiveMQ streams and blob messages. You should also have a much better understanding
of the options available when using the failover transport protocol, and how to
schedule delivery of messagse in the future with ActiveMQ.
我们还看了ActiveMQ的两种传输大尺寸消息的方法:ActiveMQ流和二进制消息.你也应当
更加了解使用失效转移连接器是可以配置的选项了,并也应该了解了如何使用ActiveMQ的消息
调度延迟发送消息.
In the next chapter we’ll look at performance tuning with ActiveMQ, and some of
the trade-offs between reliability and performance.
下一章中,我们将关注ActiveMQ的性能调优以及在性能和可用性之间的一些取舍.