flowable中的processEngineConfiguration配置
来源:互联网 发布:沼泽人 知乎 编辑:程序博客网 时间:2024/06/07 10:59
<bean id="processEngineConfiguration" class="org.flowable.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="databaseSchemaUpdate" value="true" />
<property name="asyncExecutorActivate" value="false" />
<property name="mailServerHost" value="mail.my-corp.com" />
<property name="mailServerPort" value="5025" />
<!--增加事件监听器配置,对于任何事件发送通知时,所使用的bean实现org.flowable.engine.delegate.event.FlowableEventListener-->
<property name="eventListeners">
<list>
<bean class="org.flowable.engine.example.MyEventListener" />
</list>
</property>
<!-- 发送某些类型的事件时通知,entry key的值为org.flowable.engine.delegate.event.FlowableEventListener实例的列表 -->
<!-- <property name="typedEventListeners">
<map>
<entry key="JOB_EXECUTION_SUCCESS,JOB_EXECUTION_FAILURE" >
<list>
<bean class="org.flowable.engine.example.MyJobEventListener" />
</list>
</entry>
</map>
</property> -->
<!-- Adding listeners to process definitions -->
<process id="testEventListeners">
<extensionElements>
<flowable:eventListener class="org.flowable.engine.test.MyEventListener" />
<flowable:eventListener delegateExpression="${testEventListener}" throwEvent="error" events="JOB_EXECUTION_SUCCESS,JOB_EXECUTION_FAILURE" />
</extensionElements>
</process>
</bean>
<property name="dataSource" ref="dataSource" />
<property name="databaseSchemaUpdate" value="true" />
<property name="asyncExecutorActivate" value="false" />
<property name="mailServerHost" value="mail.my-corp.com" />
<property name="mailServerPort" value="5025" />
<!--增加事件监听器配置,对于任何事件发送通知时,所使用的bean实现org.flowable.engine.delegate.event.FlowableEventListener-->
<property name="eventListeners">
<list>
<bean class="org.flowable.engine.example.MyEventListener" />
</list>
</property>
<!-- 发送某些类型的事件时通知,entry key的值为org.flowable.engine.delegate.event.FlowableEventListener实例的列表 -->
<!-- <property name="typedEventListeners">
<map>
<entry key="JOB_EXECUTION_SUCCESS,JOB_EXECUTION_FAILURE" >
<list>
<bean class="org.flowable.engine.example.MyJobEventListener" />
</list>
</entry>
</map>
</property> -->
<!-- Adding listeners to process definitions -->
<process id="testEventListeners">
<extensionElements>
<flowable:eventListener class="org.flowable.engine.test.MyEventListener" />
<flowable:eventListener delegateExpression="${testEventListener}" throwEvent="error" events="JOB_EXECUTION_SUCCESS,JOB_EXECUTION_FAILURE" />
</extensionElements>
</process>
</bean>
阅读全文
0 0
- flowable中的processEngineConfiguration配置
- flowable ProcessEngine和ProcessEngineConfiguration
- Activiti的processEngineConfiguration的部分配置说明
- Activiti5中的ProcessEngineConfiguration和ProcessEngine详解
- Flowable
- Flowable中的多实例事件
- flowable入门
- flowable使用
- flowable appModel
- flowable正式版
- flowable工作流
- 《Flowable基础二 Flowable是什么》
- activiti学习资料(ProcessEngineConfiguration,CommandContextFactory)
- 《Flowable基础二十一 Flowable springboot 集成》
- flowable-task使用
- rxjava2的Flowable使用方法
- flowable DmnEngine和DmnEngineConfiguration
- flowable FormEngine和FormEngineConfiguration
- maven打jar包
- java 中finalize()的使用
- iOS开发
- 运动目标检测
- Drawable学习之---BitmapDrawable
- flowable中的processEngineConfiguration配置
- c++的运算符重载
- javascript设计模式初探--单例模式
- AS 在小米手机调试错误 Failed to establish session Error while Installing APKs
- Ubuntu16.04 安装C++ boost库
- STL源码剖析读书笔记5
- html页面缓存资源
- 高斯滤波 模板生成原理 matlab代码
- 关于代码控制unity中动画播放的问题