WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Configuring the mediation thread pool

Use this task to configure the mediation thread pool.

Before you begin
The wsadmin tool must be running. For more information, see Starting the wsadmin scripting client.
About this task
You need to configure the mediation thread pool if you want to change the number of threads used when running mediations concurrently. The maximum size of the thread pool determines the maximum number of messages that can be mediated concurrently for a messaging engine.

The mediations thread pool, attribute name mediationsThreadPool, is an attribute of the messaging engine. By default, mediationsThreadPool does not exist, and a default thread pool is created and used at runtime. In this task, use the wsadmin tool to create a thread pool object, and then modify its properties using JACL, as shown in the examples below:

Note: For i5/OS platforms You use the wsadmin tool from within Qshell. For more information, see the topic "Configure Qshell to run WebSphere Application Server scripts".

Procedure

  1. Use this example to create a mediationThreadPool object:
    $AdminConfig create ThreadPool $messagingEngine {{name stitch.server1-bus2-mediationThreadPool}} mediationThreadPool
    Tip: In this case, the thread pool name is based on the name of the messaging engine. Although it is not required to do this, it makes it easier to find the thread pool name when using Performance Monitoring Infrastructure (PMI).
  2. Use this example to modify a mediationThreadPool object:
    $AdminConfig modify [$AdminConfig showAttribute $messagingEngine mediationThreadPool] {{maximumSize 10}}
    {{maximumSize}} can contain any of the mediationsThreadPool properties. To add additional parameters, insert {attribute name attribute value} within the outer curly brackets ({}).
    Tip: There is a space between attribute name and attribute value.
Related concepts
Mediations
Performance monitoring for mediations
Performance Monitoring Infrastructure (PMI)
Concurrent mediations
Related reference
Mediation thread pool properties

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/tasks/tjp0070_.html

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