|
Programming WebLogic JMS
Contents
1. Introduction to WebLogic JMS
MessageProducer and MessageConsumer
Configuring WebLogic JMS Clustering
Recovering From a WebLogic Server Failure
4. Developing a WebLogic JMS Application
Step 1: Look Up a Connection Factory in JNDI
Step 2: Create a Connection Using the Connection Factory
Step 3: Create a Session Using the Connection
Step 4: Look Up a Destination (Queue or Topic)
Step 5: Create Message Producers and Message Consumers Using the Session and Destinations
Step 6a: Create the Message Object (Message Producers)
Step 6b: Optionally Register an Asynchronous Message Listener (Message Consumers)
Example: Setting Up a PTP Application
Example: Setting Up a Pub/Sub Application
Step 1: Create a Message Object
Step 3: Send the Message to a Destination
Dynamically Configuring Message Producer Configuration Attributes
Example: Sending Messages Within a PTP Application
Example: Sending Messages Within a Pub/Sub Application
Receiving Messages Asynchronously
Receiving Messages Synchronously
Receiving Messages with Client Servlets
Acknowledging Received Messages
Defining a Connection Exception Listener
Accessing Connection Meta Data
Starting, Stopping, and Closing a Connection
Defining a Session Exception Listener
Creating Destinations Dynamically
Using the JMSHelper Class Methods
Setting Up Durable Subscriptions
Creating Subscribers for a Durable Subscription
Deleting Durable Subscriptions
Modifying Durable Subscriptions
Setting and Browsing Message Header and Property Fields
Setting Message Property Fields
Browsing Header and Property Fields
Defining Message Selectors Using SQL Statements
Defining XML Message Selectors Using XML Selector Method
Step 1: Look Up Server Session Pool Factory in JNDI
Step 2: Create a Server Session Pool Using the Server Session Pool Factory
Step 3: Create a Connection Consumer
Example: Setting Up a PTP Client Server Session Pool
Example: Setting Up a Pub/Sub Client Server Session Pool
Step 1: Set Up the JMS Application, Creating Multicast Session and Topic Subscriber
Step 2: Set Up the Message Listener
Dynamically Configuring Multicasting Configuration Attributes
5. Using Transactions with WebLogic JMS
Step 1: Set Up JMS Application, Creating Transacted Session
Step 2: Perform Desired Operations
Step 3: Commit or Roll Back the JMS Transacted Session
Step 1: Set Up JMS Application, Creating Non-Transacted Session
Step 2: Look Up User Transaction in JNDI
Step 3: Start the JTA User Transaction
Step 4: Perform Desired Operations
Step 5: Commit or Roll Back the JTA User Transaction
Asynchronous Messaging Within JTA User Transactions Using Message Driven Beans
Example: JMS and EJB in a JTA User Transaction
6. Migrating WebLogic JMS Applications
Existing Feature Functionality Changes
Migrating Existing Applications
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|