src/main/java/me/paulbares/spring/conf/CamundaProcessEngineConfiguration.java
@Bean
  public ProcessEngineConfigurationImpl processEngineConfiguration() {
    ProcessEngineConfigurationImpl conf = new StandaloneProcessEngineConfiguration()
            .setDataSource(this.dataSource)
            .setDatabaseSchemaUpdate("true");
    conf.setBeans(Collections.singletonMap(BasicApprovalWorflow.LISTENER_BEAN_NAME,
            new ApprovalWorkflowTaskListener(this.notificationService, this.registrar)));
    return conf;
  }
/**
   * The actual {@link ProcessEngineConfigurationImpl} to be used by the workflow engine.
   *
   * @return The actual {@link ProcessEngineConfigurationImpl} to be used by the workflow engine.
   */
The actual  ProcessEngineConfigurationImpl to be used by the workflow engine.
@return The actual  ProcessEngineConfigurationImpl to be used by the workflow engine.
The actual ProcessEngineConfigurationImpl to be used by the workflow engine . @return The actual ProcessEngineConfigurationImpl to be used by the workflow engine .
@Bean
  public ProcessEngineConfigurationImpl processEngineConfiguration() {
    ProcessEngineConfigurationImpl conf = new StandaloneProcessEngineConfiguration()
            .setDataSource(this.dataSource)
            .setDatabaseSchemaUpdate("true");
    conf.setBeans(Collections.singletonMap(BasicApprovalWorflow.LISTENER_BEAN_NAME,
            new ApprovalWorkflowTaskListener(this.notificationService, this.registrar)));
    return conf;
  }
@ Bean public ProcessEngineConfigurationImpl processEngineConfiguration ( ) { ProcessEngineConfigurationImpl conf = new StandaloneProcessEngineConfiguration ( ) . setDataSource ( this . dataSource ) . setDatabaseSchemaUpdate ( "true" ) ; conf . setBeans ( Collections . singletonMap ( BasicApprovalWorflow . LISTENER_BEAN_NAME , new ApprovalWorkflowTaskListener ( this . notificationService , this . registrar ) ) ) ; return conf ; }
The actual {@link ProcessEngineConfigurationImpl} to be used by the workflow engine.
The actual { @link ProcessEngineConfigurationImpl } to be used by the workflow engine .