Skip to content

Update README.md #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 91 commits into from
Closed

Update README.md #178

wants to merge 91 commits into from

Conversation

xlorne
Copy link
Contributor

@xlorne xlorne commented Dec 31, 2018

No description provided.

xlorne and others added 30 commits February 25, 2018 15:51
springcloud 打成war包执行的时候,并不走EmbeddedServletContainerInitializedEvent这个事件,所以可以监听ApplicationReadyEvent事件,将ServerListener,InitService注入新的监听器中启动客户端。springcloud的端口号一般都会配置,所以可以从配置文件中获取。
Update ServerListener.java
 应用初始化时若无法连接txmanager 将无法启动,但服务有可能已注册,有很大风险出现服务不可用-改为异步初始化
 当 txmanager 连接失败时,退化到无分布式事务,原来是会抛异常
     * 标示本服务是否是只读
     * 若为true : 不会加入事务组; Connection 不会被 Wrap
     * 在本服务无DB操作或仅有查询时请配置 true 将提高性能
     * 若应用都没有DB配置,此配置无意义不用设值
在 TxRunning中 point.proceed() 业务代码中 db事务正常提交,开始等待,后续处理发生异常。
由于没有加入事务组,不会收到通知,只能等到超时。
@xlorne xlorne closed this Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants