修复查询事务组状态失败的问题

This commit is contained in:
JerryYin 2018-08-21 10:55:41 +08:00
parent c1fd92246c
commit 610f73e0df

View File

@ -79,6 +79,7 @@ public class NettyMessageServiceImpl implements TxManagerMessageService {
heartBeat.setAction(NettyMessageActionEnum.GET_TRANSACTION_GROUP_STATUS.getCode());
TxTransactionGroup txTransactionGroup = new TxTransactionGroup();
txTransactionGroup.setId(txGroupId);
heartBeat.setTxTransactionGroup(txTransactionGroup);
final Object object = nettyClientMessageHandler.sendTxManagerMessage(heartBeat);
if (Objects.nonNull(object)) {
return (Integer) object;