What is a Distributed Destination? Why Use a Distributed Destination Creating a Distributed Destination

9 Using Distributed Destinations 9-1 9 Using Distributed Destinations The following sections describe the concepts and functionality of distributed destinations necessary to design higher availability applications: ■ Section 9.1, What is a Distributed Destination? ■ Section 9.2, Why Use a Distributed Destination ■ Section 9.3, Creating a Distributed Destination ■ Section 9.4, Types of Distributed Destinations ■ Section 9.5, Using Distributed Destinations ■ Section 9.6, Using Message-Driven Beans with Distributed Destinations ■ Section 9.7, Common Use Cases for Distributed Destinations 9.1 What is a Distributed Destination? A distributed destination is a set of destinations queues or topics that are accessible as a single, logical destination to a client. A distributed destination has the following characteristics: ■ It is referenced by its own JNDI name. ■ Members of the set are usually distributed across multiple servers within a cluster, with each destination member belonging to a separate JMS server.

9.2 Why Use a Distributed Destination

Applications that use distributed destinations are more highly available than applications that use simple destinations because WebLogic JMS provides load balancing and failover for member destinations of a distributed destination within a cluster. Once properly configured, your producers and consumers are able to send and receive messages through the distributed destination. WebLogic JMS then balances the messaging load across all available members of the distributed destination. When one member becomes unavailable due a server failure, traffic is then redirected toward other available destination members in the set. For more information on how destination members are load balanced, see Configuring Distributed Destination Resources in Configuring and Managing JMS for Oracle WebLogic Server. 9-2 Programming JMS for Oracle WebLogic Server

9.3 Creating a Distributed Destination

Distributed destinations are created by the system administrator using the Administration Console. For more information, see Configuring Distributed Destination Resources in Configuring and Managing JMS for Oracle WebLogic Server.

9.4 Types of Distributed Destinations