AnsweredAssumed Answered

JobExecutor thread DataSource usage

Question asked by bwd on Jul 5, 2011
Latest reply on Jul 7, 2011 by bwd
Hi,

I'm currently specifying the DataSource that a process engine should use via the ProcessEngineConfiguration.setDataSource() call (prior to calling setJobExecutorActivate(true)).  This works fine in the process engine case.  However, when the job executor thread executes, it appears to be obtaining the data source from somewhere else - probably the spring configurated data source.

Is there any accessible call that I can make to tell the job executor thread to use an explicitly-specified data source for database connections?

Thanks in advance,

BWD

Outcomes