AI分析中心服务 更新配置文件

This commit is contained in:
lxu75
2024-12-23 15:24:53 +08:00
parent 08b048e0a2
commit 55fbe5d567
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Component;
@Component
public class MessageListener {
@Autowired
/* @Autowired
private MqMessageRecordService mqMessageRecordService;
//默认情况下,当使用@RabbitListener注解时消息确认模式通常是自动的AcknowledgeMode.AUTO可以在yaml文件中更改
@@ -21,5 +21,5 @@ public class MessageListener {
public void onMessage(String message) {
log.info("Received message: " + message);
boolean result = mqMessageRecordService.processMessageByMQ(message);
}
}*/
}