startJobByType method
- @override
- String correlationId,
- String jobType,
- num timeout,
- num maxRetries
override
Start fist free job by type
correlationId
(optional) transaction jobId to trace execution through call chain.jobType
a jobType of job to be retrieved.timeout
a timeout for set locked_until time for job.maxRetries
a maxRetries for get item with retries less than them. Return Future that receives job or error.