This section describes how to develop and configure JMS client applications that take advantage of JMS clustering. For an overview of the JMS cluster, please refer to the administrator's guide. The examples included in this section show how to develop topic and queue based client applications that use a cluster of JMS servers.
This example illustrates how to use the JMS cluster capability to write fault-tolerant client applications. For producer applications, the fail-over is handled transparently by JMS, i.e. as long as at least one server in the cluster is available, the client application will continue to function. For consumer applications, any fault-tolerance must be done manually.
This example explores the queue replication semantics in the JMS cluster. As opposed to topic, queues are bound to a specific broker and the queue location is exposed to client applications. A queue receiver can connect and receive messages from a queue using any broker, and a queue sender can connect and send messages to any broker in the clustser.
Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.