Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Create 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.

1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
2. In the Administration Console, expand Services > Messaging and select JMS Servers.
3. On the Summary of JMS Servers page, click the JMS server you want to configure with a session pool.
4. Click the Session Pools tab.
5. On the JMS Session Pools page, click the session pool that you want configure with a connection consumer.
6. Click the Consumers tab.
7. On the Consumers page, click New.

   Note: Once you create a connection consumer, you cannot rename it. Instead, you must delete it and create another one that uses the new name.

8. On the Create a Consumer page, define the general connection consumer options:
   1. In Name, enter a name for the connection consumer.
   2. In Messages Maximum, specify the maximum number of messages that can be accumulated by the connection consumer.
   3. 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.

   4. In Destination, specify the queue or topic on which the connection consumer will listen.
9. Click OK to create the connection consumer.
10. 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).