Skip to content

Commit

Permalink
end if msg null
Browse files Browse the repository at this point in the history
  • Loading branch information
Bughue committed Dec 4, 2024
1 parent e0cd8a3 commit 8622d8d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public boolean rollback(BusinessActionContext context)
}

private static boolean checkMqStatus(Message message, SendResult sendResult) {
LOGGER.info("checkMqStatus message = {}, sendResult = {}", message, sendResult);
return message == null || sendResult == null ||
(StringUtils.isBlank(sendResult.getOffsetMsgId()) && StringUtils.isBlank(sendResult.getMsgId()));
}
Expand Down

0 comments on commit 8622d8d

Please sign in to comment.