Hi,
i've got a question about configurate the async executor.
I've setup a Process Engine with my own async executor with this code:
ProcessEngineConfigurationImpl processEngineConfiguration = (ProcessEngineConfigurationImpl) ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration();
DefaultAsyncJobExecutor asyncExecutor = new DefaultAsyncJobExecutor();
asyncExecutor.setCorePoolSize(10);
asyncExecutor.setMaxAsyncJobsDuePerAcquisition(5);
asyncExecutor.setMaxPoolSize(50);
processEngineConfiguration.setAsyncExecutor(asyncExecutor);
ProcessEngine processEngine = processEngineConfiguration.buildProcessEngine();
Later when i run my process it seems like my async executor is not used. There are just two threads used which leeds to the assumption that activiti uses still the default async executor with a default corePoolSize of 2.
Another try was this code:
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
with the activiti.cfg.xml i uploaded. Same problem. Just two threads are working.
Can someone help me with this?
Greetings and Thanks