Why the created job cannot be started automatically. [message #1705352] |
Fri, 14 August 2015 02:14  |
Eclipse User |
|
|
|
In my implementation, there are several kinds of jobs for different business requirements. All the jobs are stored in a mysql table, and I created an scheduled job to scan this table and create the associated jobs according to the records in the job table.
For example, the job to scan the table called ScanJob, and it run in default queue. And as to the jobs created by the ScanJob, I want to distributed them to different queues, sush as myqueue_1, myqueue_2, and etc. Now these jobs can be created and queued successfully. But they cannot be executed automatically. While, these jobs will be started if I queue them in default queue.
what's the problem about the queue used by job?
|
|
|
|
Re: Why the created job cannot be started automatically. [message #1705543 is a reply to message #1705427] |
Mon, 17 August 2015 08:49  |
Eclipse User |
|
|
|
Thanks.
And finally I got the points from source code
private static final SystemSetting<List<String>> queueIdsSetting = SystemSetting.newMultiValueStringSetting("gyrex.jobs.workerEngine.queueIds", "The ids of the queues to check for jobs. By default, the single values for default and high priority will be used.").create();
in org.eclipse.gyrex.jobs.internal.worker.WorkerEngine
|
|
|
Powered by
FUDForum. Page generated in 0.03702 seconds