BEA Logo BEA WebLogic Server Release 6.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

   Programming WebLogic JMS:   Previous topic   |   Next topic   |   Contents   |  Index

 

Introduction to WebLogic JMS

 

The following sections provide an overview of the WebLogic Java Messaging Service (JMS):

What Is JMS?

An enterprise messaging system, also referred to as Message-Oriented Middleware (MOM), enables applications to communicate with one another through the exchange of messages. A message is a request, report, and/or event that contains information needed to coordinate communication between different applications. A message provides a level of abstraction, allowing you to separate the details about the destination system from the application code.

The Java Message Service (JMS) is a standard API for accessing enterprise messaging systems. Specifically, JMS:

The following figure illustrates WebLogic JMS messaging.

Figure 1-1 WebLogic JMS Messaging

As illustrated in the figure, WebLogic JMS accepts messages from producer applications and delivers them to consumer applications.

WebLogic JMS Features

WebLogic JMS provides a full implementation of the JMS API. Specifically, WebLogic JMS:

WebLogic JMS Architecture

The following figure illustrates the WebLogic JMS architecture.

Figure 1-2 WebLogic JMS Architecture

Major Components

The major components of the WebLogic JMS Server architecture, as illustrated in the figure WebLogic JMS Architecture, include:

Clustering Features

The WebLogic JMS architecture implements clustering of multiple JMS servers by supporting cluster-wide, transparent access to destinations from any server in the cluster. Although WebLogic Server supports distributing JMS destinations and connection factories throughout a cluster, JMS Queues and Topics are still managed by individual WebLogic Server instances in the cluster. For detailed information about WebLogic clustering, see the Using WebLogic Server Clusters.

The advantages of clustering include:

WebLogic JMS Extensions

In addition to the API specified by the JavaSoft JMS specification version 1.0.2, WebLogic JMS provides a public API, weblogic.jms.extensions, that includes classes and methods for the extensions described in the following table.

Table 1-1 WebLogic JMS Extensions

Extension

For more information. . .

Create XML messages

Refer to Step 6a: Create the Message Object (Message Producers)

Define a session exception listener

Refer to Defining a Session Exception Listener

Set or display the maximum number of pre-fetched asynchronous messages allowed on the session

Refer to Dynamically Configuring Multicasting Configuration Attributes

Set or display the multicast session overrun policy that is applied when the message maximum is reached

Refer to Dynamically Configuring Multicasting Configuration Attributes

Dynamically create permanent queues or topics

Refer to Using the JMSHelper Class Methods

Convert between WebLogic JMS 6.0 and pre-6.0 JMSMessageID formats

Refer to Setting Message Header Fields

This API also supports NO_ACKNOWLEDGE and MULTICAST_NO_ACKNOWLEDGE acknowledge modes, and extended exceptions, including throwing an exception:

 

Back to Top