I have another newbie question. If I have a timer that is set to go off at a certain time and I have 100 instances of a workflow, how many threads would be started to handle those jobs? Would it be 100? If so is there a way to throttle it so only 10 threads could be running at any 1 time? This means my job may not get started exactly when I wanted but it also means I do not have too many things running at the same time.
There is a default size of the threadpool for job executors. I also believe there is an undocumented setting for changing that size, but I can't directly find it. But it's already asked on the forum in the past, so maybe the seach can help there.
Open Source is awesome. Looking into the code, the max number of threads in the pool is 10 by default. So by default it is doing what I wanted. I do think I could set the number of threads in my Spring configuration by creating a JobExecutor bean, set maxPoolSize on it. Then set the JobExecutor on the SpringProcessEngineConfiguration and then it could be anything I wanted it to be.