Managing Queue Handlers
This is a Pipes Pro feature.
Creating a Queue Handler
You can create a queue handler using the SYSADMIN.createQueueHandler
procedure:
CODE
|
This procedure takes the following parameters:
Parameter | Description |
---|---|
| Unique queue handler name |
| Defines how many jobs can be run in parallel with this handler. Must be greater than or equal to |
Modifying a Queue Handler
To change an existing queue handler, use the SYSADMIN.editQueueHandler
procedure:
CODE
|
This procedure takes the following parameters:
Parameter | Description |
---|---|
| Queue handler name to be edited |
| Thread count for this queue handler. Must be greater than or equal to |
Deleting a Queue Handler
To drop a queue handler, you can use the SYSADMIN.dropQueueHandler
procedure:
CODE
|
This procedure takes the following parameters:
Parameter | Description |
---|---|
| Queue handler name to be dropped. |
Cleaning Up a Job Queue
You can delete jobs from a queue using the SYSADMIN.cleanupJobQueue
procedure:
CODE
|
This procedure takes the following parameters:
Parameter | Description |
---|---|
| An array of job queue item IDs. See |
| Queue handler. All jobs with this queue handler are deleted from the queue if this parameter is set |
Only one parameter can be used. An error is displayed if both parameters are defined.
Examples
Deleting one item from the queue:
CODE
|
Deleting two items from the queue:
CODE
|