Package org.activiti.engine.impl.cfg

Examples of org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration


        when(execution.getVariable(eq(CoreProcessVariables.MACHINES))).thenReturn(machines);

        ProcessVariablesCollector collector = new ProcessVariablesCollector();
        collector.install(execution);

        ProcessEngine processEngine = new StandaloneInMemProcessEngineConfiguration()
            .setJobExecutorActivate(true).buildProcessEngine();
        processEngine.getRepositoryService().createDeployment()
            .addClasspathResource("diagrams/empty.bpmn20.xml").deploy();

        try {
View Full Code Here


        jobExecutor.setQueueSize(2);
        jobExecutor.setMaxJobsPerAcquisition(5);
        jobExecutor.setWaitTimeInMillis(50);
        jobExecutor.setLockTimeInMillis(180000);

        ProcessEngine processEngine = new StandaloneInMemProcessEngineConfiguration()
            .setJobExecutorActivate(true)
            .setJobExecutor(jobExecutor)
            .setFailedJobCommandFactory(new ConfigurableFailedJobCommandFactory(2, 1))
            .buildProcessEngine();
View Full Code Here

TOP

Related Classes of org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.