mirror of
https://gitee.com/dromara/Raincat.git
synced 2024-12-03 12:29:08 +08:00
修复查询事务组状态失败的问题
This commit is contained in:
parent
c1fd92246c
commit
610f73e0df
@ -79,6 +79,7 @@ public class NettyMessageServiceImpl implements TxManagerMessageService {
|
|||||||
heartBeat.setAction(NettyMessageActionEnum.GET_TRANSACTION_GROUP_STATUS.getCode());
|
heartBeat.setAction(NettyMessageActionEnum.GET_TRANSACTION_GROUP_STATUS.getCode());
|
||||||
TxTransactionGroup txTransactionGroup = new TxTransactionGroup();
|
TxTransactionGroup txTransactionGroup = new TxTransactionGroup();
|
||||||
txTransactionGroup.setId(txGroupId);
|
txTransactionGroup.setId(txGroupId);
|
||||||
|
heartBeat.setTxTransactionGroup(txTransactionGroup);
|
||||||
final Object object = nettyClientMessageHandler.sendTxManagerMessage(heartBeat);
|
final Object object = nettyClientMessageHandler.sendTxManagerMessage(heartBeat);
|
||||||
if (Objects.nonNull(object)) {
|
if (Objects.nonNull(object)) {
|
||||||
return (Integer) object;
|
return (Integer) object;
|
||||||
|
Loading…
Reference in New Issue
Block a user