Message Driven Beans AQ JMS Extensions
7.3 Programming Considerations
The following sections provide information on advanced WebLogic AQ JMS topics: ■ Section 7.3.1, Message Driven Beans ■ Section 7.3.2, AQ JMS Extensions ■ Section 7.3.3, Resource References ■ Section 7.3.4, JDBC Connection Utilization ■ Section 7.3.5, Oracle RAC Support ■ Section 7.3.6, Debugging ■ Section 7.3.7, Performance Considerations7.3.1 Message Driven Beans
MDBs interoperate with AQ JMS by using a configured foreign server. See Section 7.2.2.3, Configure a JMS Foreign Server. The message driven parameters initial-context-factory and provider-url are not supported as these parameters are supplied as part of the JMS Foreign Server configuration. The destination type for the MDB destination in the ejb-jar.xml file should be configured to either: javax.jms.Queue or javax.jms.Topic. Additional MDB configuration is required to enable container managed transactions, durable topic subscriptions, and other MDB features. SeeProgramming Message-Driven Beans for Oracle WebLogic Server.7.3.2 AQ JMS Extensions
AQ JMS extension APIs are supported by AQ JMS specific classes. You can invoke the AQ JMS extensions, after casting the standard JMS objects such as connection factories and destinations to proprietary AQ JMS classes. When you use resource references for a AQ JMS connection factory, WebLogic Server wraps the underlying AQ JMS connection factory with a wrapper object. This wrapper object implements the JMS standard API, but it cannot cast it to an AQ JMS class which provides AQ JMS extension APIs. To avoid the wrapping, users can specify the java.lang.Object as the resource type of the resource reference instead of javax.jms.XXXConnectionFactory in the deployment descriptor. This limitation is specific to AQ JMS, as resource references only support extensions that are exposed using Java interfaces. AQ JMS does not define Java interfaces for its extensions. With AQ JMS, avoiding wrapping does not disable automatic JTA transaction enlistment, nor does it prevent pooling, as AQ JMS obtains these capabilities implicitly through its embedded use of WebLogic data sources. 7-10 Configuring and Managing JMS for Oracle WebLogic Server7.3.3 Resource References
Parts
» Oracle Fusion Middleware Online Documentation Library
» Document Scope and Audience Guide to This Document
» Enterprise-Grade Reliability WebLogic Server Value-Added JMS Features
» Enterprise-Level Features WebLogic Server Value-Added JMS Features
» Performance WebLogic Server Value-Added JMS Features
» Tight Integration with WebLogic Server Interoperability With Other Messaging Services
» What Is the Java Message Service? WebLogic JMS Architecture and Environment
» Related Documentation Domain Configuration
» JMS Server Behavior in WebLogic Server 9.x and Later
» JMS System Modules JMS Application Modules
» Comparing JMS System Modules and Application Modules Configurable JMS Resources in Modules
» Persistent Stores JMS Store-and-Forward SAF Path Service
» What Are JMS Configuration Resources? Methods for Configuring JMS System Resources
» JMS Server Configuration Parameters
» JMS Server Targeting JMS Server Monitoring Parameters Session Pools and Connection Consumers
» Default Targeting Advanced Subdeployment Targeting
» Using a Default Connection Factory
» Connection Factory Configuration Parameters Connection Factory Targeting
» Advantages of JMS Clustering
» Configuration Guidelines for JMS Clustering What About Failover?
» Path Service High Availability Implementing Message UOO With a Path Service
» How WebLogic JMS Accesses Foreign JMS Providers Sample Configuration for MQSeries JNDI
» Targeting Uniform Distributed Queues and Topics
» Load Balancing Options Load Balancing Messages Across a Distributed Destination
» Consumer Load Balancing Producer Load Balancing Defeating Load Balancing
» Distributed Destination Load Balancing When Server Affinity Is Enabled
» Distributed Destination Migration Distributed Destination Failover
» Configure Shared Subscriptions Oracle Fusion Middleware Online Documentation Library
» Methods for Configuring JMS Application Modules
» Sample of a Simple Standalone JMS Application Module Deploying Standalone JMS Application Modules
» How to Create JMS Servers and JMS System Module Resources
» Using AQ Destinations as Foreign Destinations Driver Support Transaction Support
» Create Users and Grant Permissions Create AQ Queue Tables
» Configure a WebLogic Data Source
» Configure AQ JMS Foreign Server Destinations
» Message Driven Beans AQ JMS Extensions
» Resource References JDBC Connection Utilization Oracle RAC Support Debugging
» Controlling Access to Destinations that are Looked Up using the JMS API
» WebLogic Messaging Bridge Advanced Topics
» Monitoring Queues Monitoring Topics Monitoring Durable Subscribers for Topics
» Monitoring Message Runtime Information Querying Messages
» Moving Messages Deleting Messages Creating New Messages
» JMS Message Management Using Java APIs Managing Transactions
» Managing Durable Topic Subscribers
» Configure JMS Servers and Persistent Stores.
» Configure a JMS Module Configure JMS Resources
» Enable Debugging Using the Command Line Enable Debugging Using the WebLogic Scripting Tool
» Changes to the config.xml File
» JMS Debugging Scopes Debugging JMS
» Messaging Kernel and Path Service Debugging Scopes Request Dyeing
» Enabling JMS Message Logging
» JMS Message Log Record Format
» Consumer Created Event Consumer Destroyed Event Message Produced Event Message Consumed Event
» Message Expired Event Retry Exceeded Event
» Pausing and Resuming Production at Boot-time Pausing and Resuming Production at Runtime
» Pausing and Resuming Insertion at Boot Time Pausing and Resuming Insertion at Runtime
» Pausing and Resuming Consumption at Boot-time Pausing and Resuming Consumption at Runtime
Show more