05-11-2016 12:58 AM
<bean id="asyncExecutor" class="org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor">
<property name="corePoolSize" value="10" />
<property name="maxPoolSize" value="100" />
<property name="keepAliveTime" value="5000" />
<property name="queueSize" value="100" />
<property name="maxTimerJobsPerAcquisition" value="30" />
<property name="maxAsyncJobsDuePerAcquisition" value="30" />
<property name="defaultAsyncJobAcquireWaitTimeInMillis" value="1000" />
<property name="defaultTimerJobAcquireWaitTimeInMillis" value="1000" />
<property name="timerLockTimeInMillis" value="300000" />
<property name="asyncJobLockTimeInMillis" value="300000" />
</bean>
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="actDataSource" />
<property name="transactionManager" ref="actTxManager" />
<property name="jobExecutorActivate" value="false" />
<property name="asyncExecutorEnabled" value="true" />
<property name="asyncExecutorActivate" value="true" />
<property name="dbHistoryUsed" value="false" />
<property name="dbIdentityUsed" value="false" />
<property name="history" value="activity" />
<property name="databaseType" value="mssql" />
<property name="bulkInsertEnabled" value="false" />
<property name="deploymentResources" value="classpath*:/diagrams/autodeploy/*.bpmn" />
<property name="deploymentMode" value="single-resource" />
<property name="asyncExecutor" ref="asyncExecutor" />
</bean>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<process id="myProcess" name="My process" isExecutable="true">
<startEvent id="startevent1" name="Start"></startEvent>
<serviceTask id="servicetask1" name="Service Task" activiti:async="true" activiti:expression="#{singlePayOrderService.virtualAcctTransD2Settle(singlePayOrderId)}"></serviceTask>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="servicetask1"></sequenceFlow>
<sequenceFlow id="flow2" sourceRef="servicetask1" targetRef="endevent1"></sequenceFlow>
</process>
</definitions>
05-13-2016 04:44 AM
05-15-2016 09:58 PM
05-13-2016 06:56 AM
05-16-2016 09:11 AM
05-18-2016 09:00 PM
05-26-2016 09:29 AM
05-30-2016 03:19 AM
06-03-2016 03:05 AM
06-09-2016 02:38 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.