enable dsq

master
wenfei 1 month ago
parent a735c56259
commit 765cc76107

@ -183,7 +183,8 @@
</repository> </repository>
</repositories> </repositories>
<build> <build>
<finalName>${project.artifactId}</finalName> <!-- <finalName>${project.artifactId}</finalName>-->
<finalName>admin-client-temperature-esp-3-9-mysql-appserver</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>

@ -19,8 +19,8 @@ import javax.annotation.Resource;
import java.util.Map; import java.util.Map;
@Slf4j @Slf4j
//@EnableScheduling @EnableScheduling
//@EnableAsync @EnableAsync
@SpringBootApplication @SpringBootApplication
public class AdminClientTemperatureApplication implements CommandLineRunner, ApplicationContextAware { public class AdminClientTemperatureApplication implements CommandLineRunner, ApplicationContextAware {
@ -62,7 +62,7 @@ public class AdminClientTemperatureApplication implements CommandLineRunner, App
log.info("------------------------"); log.info("------------------------");
log.info("TemperatureController is not empty"); log.info("TemperatureController is not empty");
MqttRSAClient client = new MqttRSAClient(); MqttRSAClient client = new MqttRSAClient();
//client.start(temperatureService); client.start(temperatureService);
}else { }else {
log.info("temperatureService is empty"); log.info("temperatureService is empty");
} }
@ -80,7 +80,7 @@ public class AdminClientTemperatureApplication implements CommandLineRunner, App
log.info("------------------------"); log.info("------------------------");
log.info("temperatureEspService is not empty"); log.info("temperatureEspService is not empty");
MqttDianDengTechClient client = new MqttDianDengTechClient(); MqttDianDengTechClient client = new MqttDianDengTechClient();
//client.start(temperatureEspService); client.start(temperatureEspService);
}else { }else {
log.info("temperatureEspService is empty"); log.info("temperatureEspService is empty");
} }

Loading…
Cancel
Save