Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
开发团队
Flowable Engine
提交
13d0f09f
F
Flowable Engine
项目概览
开发团队
/
Flowable Engine
通知
9
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Flowable Engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
13d0f09f
编写于
2月 27, 2012
作者:
M
meyerd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ACT-1095 adding example for transaction subprocesses
上级
828a28d4
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
7 deletion
+6
-7
userguide/src/en/chapters/ch07-BPMN.xml
userguide/src/en/chapters/ch07-BPMN.xml
+6
-7
userguide/src/en/images/bpmn.transaction.subprocess.example.2.png
...e/src/en/images/bpmn.transaction.subprocess.example.2.png
+0
-0
未找到文件。
userguide/src/en/chapters/ch07-BPMN.xml
浏览文件 @
13d0f09f
...
...
@@ -5535,6 +5535,7 @@ public class MyTaskCreateListener implements TaskListener {
</para>
<para>
<emphasis
role=
"bold"
>
Possible outcomes of a transaction:
</emphasis>
A transaction can have three different outcomes:
<itemizedlist>
<listitem>
...
...
@@ -5568,7 +5569,7 @@ public class MyTaskCreateListener implements TaskListener {
</para>
<para>
<emphasis
role=
"bold"
>
Note
:
</emphasis>
it is important not to confuse the bpmn transaction subprocess with
<emphasis
role=
"bold"
>
Relation to ACID transactions
:
</emphasis>
it is important not to confuse the bpmn transaction subprocess with
technical (ACID) transactions. The bpmn transaction subprocess is not a way to scope technical transactions.
In order to understand transaction management in activiti, read the section on
<link
linkend=
"bpmnConcurrencyAndTransactions"
>
concurrency and transactions
</link>
.
...
...
@@ -5655,6 +5656,7 @@ public class MyTaskCreateListener implements TaskListener {
</para>
<para>
<emphasis
role=
"bold"
>
Consistency on top of ACID transactions and optimistic concurrency:
</emphasis>
A bpmn transaction guarantees consistency in the sense that either all activities compete successfully, or if some activity
cannot be performed, the effects of all other successful activities are compensated. So either way we end up in a consistent
state. However, it is important to recognize that in activiti, the consistency model for bpmn transactions is superposed
...
...
@@ -5704,13 +5706,10 @@ public class MyTaskCreateListener implements TaskListener {
<title>
Example
</title>
<para>
<!-- Example -->
The following is an example of a transaction subprocess:
<mediaobject><imageobject><imagedata
align=
"center"
fileref=
"images/bpmn.transaction.subprocess.example.2.png"
/></imageobject></mediaobject>
</para>
<para>
<!-- Alternative to cancel / throw catch: error event subprocess with compensation rethrow and different error caught on boundary.
Ths gives us the prossibility to control the ordering of the compensation. -->
</para>
</section>
</section>
...
...
userguide/src/en/images/bpmn.transaction.subprocess.example.2.png
0 → 100644
浏览文件 @
13d0f09f
63.0 KB
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录