-
7.4 使用Spring编写 JMS 客户端
Nov1320137.4 Writing JMS clients using Spring ActiveMQ uses the Spring Framework to ease the various aspects of client-to-brokercommunication, but the Spring Framework goes much further, with its API and containerdesigned specifically for JMS messaging. Together, ActiveMQ and Spring makean excellent ...
阅读全文抢沙发
-
7.3 使用 JMS 实现请求/应答程序
Nov1120137.3 Implementing request/reply with JMS As described in earlier chapters, messaging is all about the decoupling of senders fromreceivers. Messages are sent by one process to a broker, and messages are received froma broker by a different process in an asynchronous manner. One style of system ...
阅读全文
-
6.3 创建自定义安全插件
Oct2820136.3 Building a custom security plug-in So far this chapter has focused on the built-in security features in ActiveMQ. Thoughthese features should provide enough functionality for the majority of users, an evenmore powerful feature is available. As stated previously, the ActiveMQ plug- ...
阅读全文
-
6 ActiveMQ消息安全管理-Securing ActiveMQ
Oct242013This chapter covers How to use authentication in ActiveMQ How to use authorization in ActiveMQ How to create a custom security plug-in for ActiveMQ Using certificate-based security with ActiveMQ 本章内容包括 如何使用ActiveMQ认证 如何使用ActiveMQ授权 如何构件ActiveMQ用户安全插件 使用ActiveMQ基于 ...
阅读全文
-
5.7 小结-Summary
Oct242013This chapter began by discussing how messages are stored differently for queues and topics. Then the various message store implementations were explained and discussed,including their configuration and when to use each. You should have a goodunderstanding about the two types of file-based mes ...
阅读全文
-
5.6 为消息消费者缓存消息-Caching messages
Oct242013消息持久化的一个重要方面是消息能够从长时间存储中恢复.
阅读全文
-
5.5 内存消息存储-The memory message store
Oct182013The memory message store holds all persistent messages in memory. No active caching is involved, so you have to be careful that both the JVM and the memory limits you set for the broker are large enough to accommodate all the messages that may exist in this message store at one time. 内存 ...
阅读全文
-
5.4 JDBC消息存储-The JDBC message store
Oct182013The flexibility of the ActiveMQ pluggable message store API allows for many different implementation choices. The oldest and more common store implementation uses JDBC for messaging persistence. ActiveMQ采用灵活的可插拔式的消息存储API,这样可以选择多种不同的API实现.最早和最常用的存储实现是 ...
阅读全文
-
5.3 AMQ消息存储-The AMQ message store
Oct182013The AMQ message store, like KahaDB, is a combination of a transactional journal for reliable persistence (to survive system crashes) and high-performance indexes, which makes this store the best option when message throughput is the main requirement for an application. But because it uses two se ...
阅读全文
-
5.2 KahaDB消息存储-The KahaDB message store
Oct172013The recommended message store for general-purpose messages since ActiveMQ version 5.3 is KahaDB. This is a file-based message store that combines a transactional journal, for reliable message storage and recovery, with good performance and scalability. ActiveMQ从5.3版本以后,推荐使用KahaDB ...
阅读全文