-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Create JMS connectionCreate JMS connection consumers
Connection consumers are queues or topics that retrieve JMS server sessions and process messages. After you define a session pool, configure one or more connection consumers for each session pool.
Note: Connection consumers 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 the session pool that you want configure with a connection consumer.
- Click the Consumers tab.
- On the Consumers page, click New.
Note: Once you create a connection consumer, you cannot rename it. Instead, delete it and create another one that uses the new name.
- On the Create a Consumer page, define the general connection consumer options:
- In Name, enter a name for the connection consumer.
- In Messages Maximum, specify the maximum number of messages that can be accumulated by the connection consumer.
- In Selector, specify the JMS selector expression used to filter messages.
For information about defining selectors, see Developing a WebLogic JMS Application" in Programming WebLogic JMS.
- In Destination, specify the queue or topic on which the connection consumer will listen.
- Click OK to create the connection consumer.
- 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).