File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010## 框架特点
1111
12121 . 支持各种基于spring的db框架
13- 2 . 兼容SpringCloud、Dubbo
13+ 2 . 兼容SpringCloud、Dubbo、motan
14143 . 使用简单,低依赖,代码完全开源
15154 . 基于切面的强一致性事务框架
16165 . 高可用,模块可以依赖Dubbo或SpringCloud的集群方式做集群化,TxManager也可以做集群化
@@ -29,6 +29,8 @@ transaction-dubbo LCN dubbo rpc框架扩展支持
2929
3030transaction-springcloud LCN springcloud rpc框架扩展支持
3131
32+ transaction-motan LCN motan rpc框架扩展支持
33+
3234tx-client 是LCN核心tx模块端控制框架
3335
3436tx-manager 是LCN 分布式事务协调器
@@ -85,7 +87,7 @@ tx-plugins-redis 是LCN 对于redis模块的插件支持(功能暂未实现)
8587
8688 若存在业务方法:a->b b->c b->d,那么开启分布式事务注解的话,只需要在a方法上添加@TxTransaction 即可。
8789
88- ``` java
90+ ```
8991 @TxTransaction
9092 @Transactional
9193 public void a(){
Original file line number Diff line number Diff line change 1616
1717 <module >transaction-dubbo</module >
1818 <module >transaction-springcloud</module >
19+ <module >transaction-motan</module >
20+
1921 <module >tx-plugins-db</module >
2022 <module >tx-plugins-nodb</module >
2123 <module >tx-plugins-redis</module >
22- <module >transaction-motan</module >
2324 </modules >
2425
2526 <properties >
Original file line number Diff line number Diff line change 44 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
55 <modelVersion >4.0.0</modelVersion >
66
7-
8- <artifactId >transaction-motan</artifactId >
97 <groupId >com.codingapi</groupId >
8+ <artifactId >transaction-motan</artifactId >
109 <version >1.0.0</version >
1110
1211 <name >transaction-motan</name >
12+ <url >https://github.com/codingapi/tx-lcn</url >
1313
1414 <description >transaction-dubbo project for Spring Boot</description >
1515
3131 </developer >
3232 </developers >
3333
34+ <scm >
35+ <connection >scm:git:https://github.com/codingapi/tx-lcn.git</connection >
36+ <developerConnection >scm:git:https://github.com/codingapi/tx-lcn.git</developerConnection >
37+ <url >https://github.com/codingapi/tx-lcn</url >
38+ <tag >v${project.version} </tag >
39+ </scm >
40+
41+ <distributionManagement >
42+ <snapshotRepository >
43+ <id >ossrh</id >
44+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
45+ </snapshotRepository >
46+ <repository >
47+ <id >ossrh</id >
48+ <name >Maven Central Staging Repository</name >
49+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
50+ </repository >
51+ </distributionManagement >
52+
53+
3454
3555 <properties >
3656 <maven .compile.source>1.7</maven .compile.source>
You can’t perform that action at this time.
0 commit comments