Skip navigation.

Administration Console Online Help

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index

 


Server --> Services --> JMS

Tasks     Related Topics     Attributes

Overview

On this tab, you can define whether to use the default JMS connection factories and configure the size of the JMS execute thread pool.

Default JMS Connection Factories

WebLogic Server defines two default connection factories, which can be looked up using the following JNDI names:

An XA factory is required for JMS applications to use JTA user-transactions, but is not required for transacted sessions. All other preconfigured attributes for the default connection factories are set to the same default values as a user-defined connection factory. If the preconfigured settings of the default factories are appropriate for your application, you do not need to configure any additional factories for your application.

Note: When using the default connection factories, you have no control over targeting the WebLogic Server instances where the connection factory may be deployed. However, you can disable the default connection factories on a per-server basis. To deploy a connection factory on independent servers, on specific servers within a cluster, or on an entire cluster, you need to configure a connection factory and specify the appropriate server targets.

JMS Thread Pool Size

On the server, incoming JMS related requests execute in the JMS execute queue/thread pool. Additional work that cannot be completed in the request thread is forwarded to the "default" execute queue.

Tasks

Configuring a JMS Connection Factory

JMS Connection Factory Tasks

Related Topics

"WebLogic JMS Fundamentals" in Programming WebLogic JMS

"Using Transactions With WebLogic JMS" in Programming WebLogic JMS

"Developing a WebLogic JMS Application" in Programming WebLogic JMS

"Tuning WebLogic Server" and "Tuning WebLogic Server Applications" in the Performance and Tuning Guide.

Attributes

Table 289-1

Attribute Label

Description

Value Constraints

Enable Default JMS Connection Factories

Enables the default JMS connection factories:

  • weblogic.jms.ConnectionFactory

  • weblogic.jms.XAConnectionFactory.

The XA Connection Factory Enabled setting is turned on by default on the default transaction connection factory, weblogic.jms.XAConnectionFactory. An XA factory is required for JMS applications to use JTA user-transactions, but is not required for transacted sessions.

MBean: weblogic.management.
configuration.ServerMBean

Attribute: JMSDefaultConnectionFactoriesEnabled

Default: true

Valid values:

  • true

  • false

Dynamic: yes

JMS Thread Pool Size

The size of the JMS execute thread pool.

Note: Incoming RMI calls execute in the JMS execute queue/thread pool, if one exists; otherwise, they execute in the default execute queue.

Additional executes (work that cannot be completed in the initial RMI thread) are executed in the default execute queue.

The difference in setting up a JMS-specific thread pool is that JMS will not be starved by other execute threads and vice versa.

Minimum: 0

Maximum: 65534

Default: 15

Configurable: yes

 

Skip navigation bar  Back to Top Previous Next