WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Configuring the message listener service

Use this task to configure the properties of the message listener service for an application server, to support message-driven beans deployed against listener ports.

Why and when to perform this task

If the JMS provider does not have a JCA 1.5 resource adapter, such as the V5 Default Messaging and WebSphere MQ, you must configure JMS message-driven beans against a listener port (as in WebSphere Application Server version 5).

If you want to deploy an enterprise application to use message-driven beans with listener ports, you can use this task to browse or change the configuration of the message listener service for an application server.

To configure the message listener service for an application server, use the administrative console to complete the following steps:

Steps for this task

  1. Display the listener service settings page:
    1. In the navigation pane, select Servers > Application Servers.
    2. In the content pane, click the name of the application server.
    3. Under Communications, click Messaging > Message Listener Service.
  2. Optional: Browse or change the value of properties for the message-driven bean thread pool.
    1. Click Thread Pool
    2. Change the following properties, to suit your needs:
      Minimum size
      The minimum number of threads to allow in the pool.
      Maximum size
      The maximum number of threads to allow in the pool.
      Thread inactivity timeout
      The number of milliseconds of inactivity that should elapse before a thread is reclaimed. A value of 0 indicates not to wait and a negative value (less than 0) means to wait forever.
      Note: The administrative console does not allow you to set the inactivity timeout to a negative number. To do this you must modify the value directly in the config.xml file.
      Allow thread allocation beyond maximum thread size
      Select this check box to enable the number of threads to increase beyond the maximum size configured for the thread pool.
    3. Click OK.
  3. Optional: Specify any of the following optional properties that you need, as Custom properties of the message listener service:

    NON.ASF.RECEIVE.TIMEOUT, MQJMS.POOLING.TIMEOUT, MQJMS.POOLING.THRESHOLD, MAX.RECOVERY.RETRIES, and RECOVERY.RETRY.INTERVAL.

    For more information about these custom properties, see Custom Properties.

    To browse or change the properties, complete the following steps:

    1. Click Custom properties
    2. For each custom property, specify a value to suit your needs.
      If you have not specified a property before:
      1. Click New.
      2. Type the name of the property.
      3. Type the value of the property.
      4. Click OK.
  4. Save your changes to the master configuration.
  5. To have the changed configuration take effect, stop then restart the Application Server.



Sub-topics
Message listener service

Related tasks
Administering listener ports
Configuring message listener resources for message-driven beans

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tmb_adm08.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)