Scheduler configuration parameters

We can change scheduler parameters to control behavior. We can control behaviors such as expiry time, waiting time between checks for jobs, and the number of threads to allocate to an application type.


Scheduler configuration properties

The general scheduler configuration parameters are stored in the WebSphere Commerce configuration file. Examples of the scheduler configuration parameters within this file are shown in the following XML sample:

The scheduler properties that are defined within the <properties/> element within the scheduler <component></component> element include the following properties:

We can also set the following property for the scheduler:


Work manager for the scheduler

The work manager is used for the WebSphere Commerce Scheduler, IBM MQ Listener, and other components, instead of creating Java threads. By using the work manager, administrators can use a consistent interface to manage these additional asynchronous processes. The WebSphere Application Server manages these additional processes, which are part of a Java Platform, Enterprise Edition application.

The WebSphere Commerce ThreadManagement component uses the factory approach to create the correct thread management implementation according to the current environment.

In WebSphere Commerce, the applicationType is replaced by the Name property of a work manager, and the maxNumofThreads is replaced by the Maximum number of threads property of a work manager. We can modify the scheduler application types within the WebSphere Application Server Administration Console:

  1. Open the WebSphere Application Server administration console.

  2. Expand Resources > Asynchronous beans > Work manager. Click Work managers > Work manager name.

  3. In the Thread pool properties section, enter the value for the Maximum number of threads property.

  4. Save our changes.


Related concepts
Application server considerations
Jobs


Related tasks
Creating work managers for custom thread groups


Related information:

Work managers