|
|
@ -121,6 +121,7 @@ public class MqServiceImpl implements MqService { |
|
|
|
return messagePostProcessor; |
|
|
|
return messagePostProcessor; |
|
|
|
}, correlationData); |
|
|
|
}, correlationData); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
e.printStackTrace(); |
|
|
|
//出现异常,这里将异常转化为自定义异常MsgException,主要是为了触发重试机制
|
|
|
|
//出现异常,这里将异常转化为自定义异常MsgException,主要是为了触发重试机制
|
|
|
|
throw MsgException.builder() |
|
|
|
throw MsgException.builder() |
|
|
|
.failMsgEntity(FailMsgEntity.builder() |
|
|
|
.failMsgEntity(FailMsgEntity.builder() |
|
|
|