|
|
@ -53,8 +53,9 @@ public class SendMqMsgUtils { |
|
|
|
Result<String> result = null; |
|
|
|
log.info("sendMsg url:{},param:{}", msg.getRequestUrl(), JSON.toJSONString(msg)); |
|
|
|
do { |
|
|
|
retryTime++; |
|
|
|
result = HttpClientManager.getInstance().sendPostByHttps(msg.getRequestUrl(), JSON.toJSONString(msg)); |
|
|
|
log.info("sendMsg retryTime:{},result:{}", retryTime++, JSON.toJSONString(result)); |
|
|
|
log.info("sendMsg retryTime:{},result:{}", retryTime, JSON.toJSONString(result)); |
|
|
|
} while ((!result.success()) && retryTime < 2); |
|
|
|
|
|
|
|
if (result.success()) { |
|
|
|