Work queue scheduling and processing intervals

A writer for a work queue starts at the interval specified in scheduler-config.xml. Typically, you schedule the writer to start several times during the day or once at night. Access schedule configuration file schedule-config.xml in Guidewire Studio at the following location:
  • configuration > config > scheduler

Worker tasks awaken much more frequently than their writers start. One writer awakens at least as frequently as a specified maximum polling interval, if not more frequently.

You do not schedule worker tasks. Instead, they awaken in response to notification from the writer or upon expiration of the polling interval. After a worker awakens, if there are work items to process, it processes up to the number of batchsize items, as defined in work-queue.xml. If there are more items than the batch size to process, the worker awakens another worker. This worker repeats the process of checking out work items and waking up another worker if necessary, until maximum allowed number of workers are active.

You configure the number of workers, polling interval, and batch size in work-queue.xml. Access work queue configuration file work-queue.xml in Guidewire Studio at the following location:
  • configuration > config > workqueue

You can view and manage work queues from the Server Tools Work Queue Info screen in PolicyCenter, if you have the appropriate administrative privilege.

See also