-
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 ...
阅读全文
-
3.3 用例2: job queue 示例-Use case two: the job queue example
Sep242013The second use case focuses on job queues to illustrate point-to-point messaging. This example uses a Producer class to send job messages to a job queue and a Consumer class for registering a Listener class to consume messages from queues in an asynchronous manner. These three classes provide th ...
阅读全文作者:边城网事 | 分类:ActiveMQ in Action 读书笔记 | 阅读:1,128
-
3.2 用例一: stock portfolio实例 – Use case one: the stock portfolio example
Sep232013As mentioned earlier in the chapter, the first use case revolves around a stock portfolio use case for demonstrating publish/subscribe messaging. This example is simple and utilizes a Publisher class for sending stock price messages to a topic, as well as a Consumer class for registering a Liste ...
阅读全文作者:边城网事 | 分类:ActiveMQ in Action 读书笔记 | 阅读:1,197