`
文章列表
5.4 The JDBC message store 5.4 JDBC消息存储   The 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 The AMQ message store 5.3 AMQ消息存储   The 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 ...
5.2 The KahaDB message store 5.2 KahaDB消息存储   The 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 scalabili ...
5.1 How are messages stored by ActiveMQ? 5.1 ActiveMQ如何存储消息   It’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 o ...
ActiveMQ message storage ActiveMQ 消息存储   This 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 subscri ...
4.6 Summary 4.6 小结   Connectivity 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 trans ...
4.5 Network connectors 4.5 网络连接器   A 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 ...
4.4 Connecting to ActiveMQ inside the virtual machine(VM connector) 4.4 通过虚拟机连接到ActiveMQ(VM连接器)   The 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 th ...
4.3 Connecting to ActiveMQ over the network 4.3 通过网络连接到ActiveMQ   The 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 thi ...
4.2 Transport connectors 4.2 传输连接器     In 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 ...
3.4 Summary 3.4 小结   This 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 demo ...
3.3 Use case two: the job queue example 3.3 用例2: job queue 示例   The 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 ...
1.下载附件,解压得到features和plugins文件夹     2. 复制1中的文件夹,到myeclipse的安装位置和eclipse.exe放一起(如果目标文件夹存在,则覆盖即可)   注: 安装后,重启myeclipse提示下面错误解决办法: eclipse is running in a jre, but a jdk is required  修改myeclipse的快捷方式,在目标后添加 -vm "jdk安装目录\bin\javaw.exe" 之前,可能myeclipse会默认有个-vm xxx放到后面了,要注意删除掉 参考下面: &quo ...
3.2 Use case one: the stock portfolio example 3.2 用例一: stock portfolio实例   As 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 pr ...
3.1 Downloading Maven and compiling the examples 3.1 下载Maven并编译实例源码   Here are the steps to download and install Maven: 1 Download Maven from the Apache Software Foundation: http://maven. apache.org/. Maven is provided in both tarball and zip format, depending on your operating system. 2 Exp ...
Global site tag (gtag.js) - Google Analytics