public interface LocalTransactionExecuter
Modifier and Type | Method and Description |
---|---|
TransactionStatus |
execute(Message msg,
Object arg)
执行本地事务,由应用来重写
|
TransactionStatus execute(Message msg, Object arg)
msg
- 消息arg
- 应用自定义参数,由send方法传入并回调TransactionStatus
返回事务执行结果,包括提交事务、回滚事务、未知状态Copyright © 2012–2020. All rights reserved.