JMS Session Pool --> Configuration
Tasks Related Topics Attributes
Overview
This tab defines general configuration attributes for a JMS session pool, which enable an application to process messages concurrently. Once you have defined a JMS server, optionally, you can configure one or more session pools for each JMS server.
Note: Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superceded by message-driven beans (MDBs), which are a required part of the J2EE specification.
Tasks
Related Topics
WebLogic JMS Fundamentals in Programming WebLogic JMS
Developing a WebLogic JMS Applicationin Programming WebLogic JMS
Attributes
Attribute Label
Description
Value Constraints
Name The name of this JMS session pool configuration. WebLogic Server uses an MBean to implement and persist the configuration.MBean: weblogic.management.
configuration.
JMSSessionPoolMBeanAttribute: Name
Connection Factory The JNDI name of the connection factory for the session pool. MBean: weblogic.management.
configuration.
JMSSessionPoolMBeanAttribute: ConnectionFactoryDefault: null Listener Class The name of the listener class for the session pool, which is used to receive and process messages concurrently. MBean: weblogic.management.
configuration.
JMSSessionPoolMBeanAttribute: ListenerClass
Acknowledge Mode The acknowledge mode used by non-transacted sessions within the session pool. For transacted sessions, messages are acknowledged automatically when the session is committed and this field is ignored. This attribute is not dynamically configurable. MBean: weblogic.management.
configuration.
JMSSessionPoolMBeanAttribute: AcknowledgeModeDefault: AutoValid values:
- Auto
- Client
- Dups-Ok
- None
Sessions Maximum The maximum number of concurrent sessions allowed for the session pool. A value of -1 indicates that there is no maximum. This attribute is dynamically configurable; however, it does not take effect until the session pool is restarted. MBean: weblogic.management.
configuration.
JMSSessionPoolMBeanAttribute: SessionsMaximumMinimum: -1Maximum: 9223372036854775807Default: -1Dynamic: yes Transacted Indicates whether or not the session pool creates transacted sessions. This attribute is not dynamically configurable. MBean: weblogic.management.
configuration.
JMSSessionPoolMBeanAttribute: TransactedDefault: falseValid values:
- true
- false