-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Create JMS sessionCreate JMS session pools
A JMS session pool enables 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 superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.
} } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i
- If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
- In the Administration Console, expand Services > Messaging and select JMS Servers.
- On the Summary of JMS Servers page, click the JMS server you want to configure with a session pool.
- Click the Session Pools tab.
- On the JMS Session Pools page, click New.
Note: Once you create a JMS session pool, you cannot rename it. Instead, delete it and create another one that uses the new name.
- On the Create a New JMS Session Pool page, define the general session pool options:
- In Name, enter a name for the JMS session pool.
- In Listener Class, enter the listener class that will be used by the JMS session pool, which is used to receive and process messages concurrently.
- Click OK.
For more information about these session pool attributes, see Configuration Options.
- On the JMS Session Pools page, click the new session pool to open it.
- On the JMS Session Pool: Configuration page:
- In Connection Factory, enter the JNDI name of the connection factory for the session pool.
- In Acknowledge Mode, select the acknowledge mode used by non-transacted sessions within the session pool.
- In Sessions Maximum, enter the maximum number of concurrent sessions allowed for the session pool.
- In Transacted, select whether the session pool creates transacted sessions.
For more information about these session pool attributes, see Configuration Options.
- Click Save.
- To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
Not all changes take effect immediately—some require a restart (see Use the Change Center).