| | |
| | | import com.iailab.module.model.api.mdk.dto.MdkScheduleReqDTO; |
| | | import com.iailab.module.model.enums.ScheduleTriggerMethodEnum; |
| | | import com.iailab.module.shasteel.mq.common.constant.CommonConstant; |
| | | import com.iailab.module.shasteel.mq.config.QueueElecPredictFinishConfig; |
| | | import com.iailab.module.shasteel.mq.config.QueuePredictFinishConfig; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.amqp.core.Message; |
| | | import org.springframework.amqp.rabbit.annotation.RabbitListener; |
| | |
| | | * |
| | | * @param message |
| | | */ |
| | | @RabbitListener(queues = QueueElecPredictFinishConfig.QUEUE_NAME) |
| | | @RabbitListener(queues = QueuePredictFinishConfig.QUEUE_NAME_ELEC) |
| | | public void listen(Message message) { |
| | | String messageBody = new String(message.getBody()); |
| | | log.info("开始执行电力调度,messageBody:" + messageBody); |