Job Queues
Job queues are a mechanism for sending jobs to specific FME Engines. The reasons for using job queues include:
- Sending a job to an FME Engine in close proximity to a data source.
- Sending a job to an FME Engine that supports a particular format.
- Reserving an FME Engine for a scheduled task.
- Reserving an FME Engine for quick jobs.
When you create a job queue, you assign one or more FME Engines to the queue. (You can assign an FME Engine to more than one queue.) Then, when you run a job, you can specify which queue—and, therefore, which engines—to handle the job.
By extension, you can also assign a repository to a queue. By default, all jobs are assigned to the queue of their respective workspace repository, unless another queue is specified for the job.
All engines and repositories must be assigned to a queue. If an engine or repository is not assigned to a queue explicitly, it is assigned to the Default queue.
Creating and Assigning Job Queues
To get started with job queues, create your own queues and assign engines and, if desired, repositories, to them.
- Select Engines & Licensing > Configure. Under Job Queues, click Create Queue.
- In the Queue Name dialog, enter a name for the queue, and click OK.
- To assign engines, repositories, and priority, click the edit icon beside the queue.
- Add a description (optional).
- Assign a priority (defaults to 5). Priority must be an integer between 1 and 10. The highest priority is 1 and the lowest priority is 10. Queues with higher priority execute jobs before queues with lower priority, even if jobs in lower-priority queues are submitted first.
- Assign repositories (optional).
- Assign engine(s) (required).
Note: You can also assign an engine to a queue on the Engines & Licensing page, under Engines. Likewise, you can assign a repository to a queue on the Repositories page.
- To save, click the edit icon again.
Editing Queues
To change the engines or repositories assigned to a queue, or update the queue's description, click the edit icon beside the queue you want to change. Make the desired changes, and click the edit icon again to save.
Note: If an engine is assigned to only one queue, it can be removed from the queue only if it is offline.
Removing Queues
Note: You cannot remove the Default queue.
- On the Engines & Licensing page, under Job Queues, click the edit icon beside the queue you want to remove.
- Click the delete icon .
- On the Warning dialog, click OK to delete, or Cancel to undo.