|
|
@ -46,7 +46,7 @@ public class MqttConfig { |
|
|
|
// private String mqtt_system_topname;
|
|
|
|
// private String mqtt_system_topname;
|
|
|
|
@PostConstruct |
|
|
|
@PostConstruct |
|
|
|
public void registerMqtt(){ |
|
|
|
public void registerMqtt(){ |
|
|
|
try { |
|
|
|
try{ |
|
|
|
com.hnac.hzinfo.subscribe.MqttConfig mqttConfig = new com.hnac.hzinfo.subscribe.MqttConfig(); |
|
|
|
com.hnac.hzinfo.subscribe.MqttConfig mqttConfig = new com.hnac.hzinfo.subscribe.MqttConfig(); |
|
|
|
mqttConfig.setUrl(mqtt_fdp_url); |
|
|
|
mqttConfig.setUrl(mqtt_fdp_url); |
|
|
|
mqttConfig.setGroup(mqtt_fdp_group); |
|
|
|
mqttConfig.setGroup(mqtt_fdp_group); |
|
|
|