retry机制抛出异常

This commit is contained in:
lxu75
2025-05-21 18:13:46 +08:00
parent 2554343a13
commit 726a58df13
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ public class ClaimVerificationServiceImpl implements ClaimVerificationService {
data.put("businessType", claimVerificationFileAnalysisDTO.getBusinessType());
data.put("aiAnalysisRequestId", aiAnalysisRequestId);
data.put("fileType", claimVerificationFileAnalysisDTO.getFileType());
log.info("索赔检核发送异常空MQMQ: {}", data.toString());
log.info("索赔检核发送异常空MQ: {}", data.toString());
rocketMQTemplate.syncSend(topic, data);
}

View File

@@ -20,7 +20,7 @@ public class DiFyRetryImpl {
private DiFyService diFyService;
@Retryable(include = Exception.class,maxAttempts = 2, backoff = @Backoff(delay = 1000))
public JSONObject getDiFyRetry(DiFyReq diFyReq) {
log.info("diFyService class: {}", diFyService.getClass());
log.info("AI索赔检核调用DIFYretry");
return (JSONObject) diFyService.getDiFyObjectRetry(diFyReq);
}