Hi
We are using the Spring Framework Integration via camunda-engine-spring component. We are not using The Spring-Boot-Starter.
What is the right way to change the job-executor lockTimeInMillis via Spring beans.
We are using @Configuration bean that use SpringProcessEngineConfiguration and it works fine to setup most of the parameters. But we are not enable figure out how to setup the job-executor parameters.
We’ve tried to use this code but the jobExecutor is not build yet (null) !
@Bean public SpringProcessEngineConfiguration processEngineConfiguration() throws IOException { SpringProcessEngineConfiguration config = new SpringProcessEngineConfiguration(); config.setHistory(historyLevel); config.setJobExecutorActivate(true); final JobExecutor jobExecutor = config.getJobExecutor(); jobExecutor.setLockTimeInMillis(900000); return config; }
Thank you for you help