@@ -31,8 +31,8 @@ public class IotGatewayApplication { | |||
ConfigurableApplicationContext applicationContext = SpringApplication.run(IotGatewayApplication.class, args); | |||
ConfigurableEnvironment environment = applicationContext.getEnvironment(); | |||
IotCommunication iotSubscribe = new IotCommunication(environment); | |||
iotSubscribe.start(); | |||
IotCommunication iotCommunication = new IotCommunication(environment); | |||
iotCommunication.start(); | |||
log.info("推送服务启动!"); | |||
} | |||
} |