05-09-2016 05:01 PM
@Bean(name = "processEngineConfiguration")
public ProcessEngineConfigurationImpl processEngineConfiguration() {
SpringProcessEngineConfiguration processEngineConfiguration = new SpringProcessEngineConfiguration();
processEngineConfiguration.setClassLoader(getClass().getClassLoader());
processEngineConfiguration.setDataSource(dataSource()); // This is a postgres DB
processEngineConfiguration.setDatabaseSchema(activitiSchema); // Have a separate schema for activiti
processEngineConfiguration.setDatabaseSchemaUpdate("true");
processEngineConfiguration.setTransactionManager(annotationDrivenTransactionManager());
processEngineConfiguration.setJobExecutorActivate(false);
processEngineConfiguration.setAsyncExecutorEnabled(true);
processEngineConfiguration.setAsyncExecutorActivate(true);
processEngineConfiguration.setHistory("full");
processEngineConfiguration.setMailServerHost(mailServer);
processEngineConfiguration.setMailServerPort(mailServerPort);
return processEngineConfiguration;
}
05-10-2016 04:33 AM
How can I configure the process engine so that only one server executes any given task?Disable executor on one node.
05-10-2016 11:36 AM
05-11-2016 10:04 AM
05-18-2016 12:09 PM
05-18-2016 08:32 PM
05-26-2016 09:26 AM
05-26-2016 08:52 PM
06-02-2016 01:52 PM
06-13-2016 11:58 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.