Configuring How Often the Process Engine Looks for Work Requests

The Process Engine maintains a queue of work requests to process. Depending on the number of items in the queue, the engine retrieves further requests from the PVM_REQUEST_QUEUE database table. Although the settings that control the frequency of this retrieval are suitable for most installations, you may want to change them to increase efficiency.

Procedure

  • Use ActiveMatrix Administrator to update the Java Virtual Machine (JVM) configuration for the ActiveMatrix BPM nodes, as explained in the TIBCO ActiveMatrix BPM SOA Administration guide. Add (and set) one or more of the following properties on the JVM Configuration page within the Configuration tab:
    Property Description
    com.tibco.bx.groupRQ.batchSize The number of new requests to retrieve from the PVM_REQUEST_QUEUE table at a time. Default: 25.
    com.tibco.bx.groupRQ.fillLevel The maximum number of requests in the request queue. When this number is reached, the engine stops checking the PVM_REQUEST_QUEUE table for new requests. Default: 50.
    com.tibco.bx.groupRQ.lowWaterLevel The minimum number of requests in the request queue. When this number is reached, the engine starts checking the PVM_REQUEST_QUEUE table for new requests. Default: 10.
    com.tibco.bx.groupRQ.idleSleep If there are no requests in the PVM_REQUEST_QUEUE table, this is the amount of time (in ms) that the engine sleeps before it checks the table again for new requests. Default: 100.