消息队列推送日志加队列名称

master
zhangxiaofeng 7 months ago
parent 0709877c09
commit d70408890f

@ -1032,7 +1032,7 @@ namespace Myshipping.Application
conn.Close();
_logger.LogInformation($"接收到订舱需求审核后推送东胜,已发送数据到消息队列【{mqUrl}】,数据内容:【{json}】");
_logger.LogInformation($"接收到订舱需求审核后推送东胜,已发送数据到消息队列【{mqUrl}】,队列名称:【{queueName}】,数据内容:【{json}】");
}
}
catch (Exception ex)

@ -10100,7 +10100,7 @@ namespace Myshipping.Application
props.DeliveryMode = 2;
mqModel.BasicPublish(MqActionExchangeName, queueName, props, messageBodyBytes);
conn.Close();
_logger.LogInformation($"Id:{item.Id},订舱数据回推,已发送数据到消息队列【{BookingOrderMQUri}】");
_logger.LogInformation($"Id:{item.Id},订舱数据回推,已发送数据到消息队列【{BookingOrderMQUri}】,队列名称:【{queueName}】");
}
}
catch (Exception ex)

Loading…
Cancel
Save