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;
}
06-20-2016 08:54 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.