DeadlineEngine - bluesoft-rnd/aperte-workflow-core GitHub Wiki
DeadlineEngine provides the core of the Process Deadlines plugin evaluation functionality. By utilizing Quartz Scheduler it provides scalable solution that can process considerable amounts of jobs.
Configuration
Database configuration
This configuration is based on following database tables. Because the DeadlineEngine uses Hibernate as DB abstraction layer the types of the fields were listed as Java types.
pt_ext_pi_deadline_template
Column name | Type | Required | Default value | Description |
---|---|---|---|---|
id | Long | True | Primary key | |
sender | String | True | Sender address, as expected by Java Mail InternetAddress | |
subjectTemplate | String | True | Content of the template that will be rendered as message subject, as expected by Freemarker TemplateLoader | |
templateBody | String | True | Content of the template, as expected by Freemarker TemplateLoader | |
templateName | String | True | Name of the template |
Properties configuration
mail.properties
This properties are used to construct Java Mail session with password authentication. User name is stored inside mail.smtp.user and password is stored inside the mail.smtp.password property. For further informations refer to Appendix A of Java Mail Specification.
quartz.properties
This properties are used to construct Quartz SchedulerFactory. For further information refer to StdSchedulerFactory documentation.