-
5.1 ActiveMQ如何存储消息-How are messages stored by ActiveMQ?
Oct162013It’s important to gain some basic knowledge of the storage mechanisms for messages in an ActiveMQ message store. This will aid in configuration and provide an awareness of what takes place in the ActiveMQ broker during the delivery of persistent messages. Messages sent to queues and topics are s ...
阅读全文抢沙发
-
5 ActiveMQ 消息存储-ActiveMQ message storage
Oct162013This chapter covers How messages are stored in ActiveMQ for both queues and topics The four styles of message stores provided with ActiveMQ How ActiveMQ caches messages for consumers How to control message caching using subscription recovery policies 本章内容包括: ActiveMQ中消息对 ...
阅读全文
-
4.6 小结-Summary
Oct162013Connectivity options for ActiveMQ are extremely important, and one of the first items that users encounter. The format of ActiveMQ URIs is designed to be easy to understand and it dramatically simplifies connectivity. This connectivity extends not only to clients via transport connectors, but al ...
阅读全文
-
4.5 网络连接器-Network connectors
Oct152013A network of brokers creates a cluster composed of multiple ActiveMQ instances that are interconnected to meet more advanced messaging scenarios. Various topologies for broker networks, their purpose, and their configuration details are explained in detail in chapter 10. The previous section dis ...
阅读全文
-
4.4 通过虚拟机连接到ActiveMQ(VM连接器) -Connecting to ActiveMQ inside the virtual machine(VM connector)
Oct102013The VM transport connector is used by Java applications to launch an embedded broker and connect to it. Use of the VM transport means that no network connections are created between clients and the embedded broker. Communication is performed through direct method invocations of the broker object ...
阅读全文
-
4.3 通过网络连接到ActiveMQ-Connecting to ActiveMQ over the network
Sep252013The most common usage scenario is to run ActiveMQ as a standalone Java application. This implies that clients (producer and consumer applications) will use some of the network protocols to access the broker’s destinations. In this section, we’ll describe available network protocols you can use t ...
阅读全文
-
4.2 传输连接器-Transport connectors
Sep252013In order to exchange messages, producers and consumers (clients) need to connect to the broker. This client-to-broker communication is performed through transport connectors. ActiveMQ provides an impressive list of protocols clients can use to exchange messages. The requirements of ActiveMQ user ...
阅读全文
-
3.4 小结-Summary
Sep242013This brief introduction to the book examples is meant to be just that—quick and focused. The jobs and portfolio use cases are common in the business world, but they’re only two use cases of many available for using messaging. Although these two use cases are meant to demonstrate the two JMS mess ...
阅读全文
-
4.1 了解连接器的URI-Understanding connector URIs
Sep222013Before discussing the details of connectors and their role in the overall ActiveMQ architecture, it’s important to understand connector URIs. Uniform resource identifiers (URIs), as a concept, aren’t new, and you’ve probably used them over and over again without realizing it. URIs were first int ...
阅读全文
-
第四章 连接到ActiveMQ-Connecting to ActiveMQ
Sep222013The main role of a JMS broker such as ActiveMQ is to provide a communication infrastructure for client applications. For that reason, ActiveMQ provides connectors, a connectivity mechanism that provides client-to-broker communications (using transport connectors) as well as broker-to-broker comm ...
阅读全文