I'm trying to start a batch job, which isn't known at deployment time. (Admin users can define their own jobs via rest-api) I'm calling:
JobOperator jobOperator = BatchRuntime.getJobOperator();
-- > Class org.wildfly.extension.batch.jberet.deployment.JobOperatorService - Which dosn't allow to start unknown jobs.
Javadoc says:
* Note that for each method the job name, or derived job name, must exist for the deployment. The allowed job names and
* job XML descriptor are determined at deployment time.
How can i start jobs that are not determined at deployment?
Thanks in advance