|
|
@ -14,13 +14,13 @@ import org.springframework.context.annotation.Configuration; |
|
|
|
@Configuration |
|
|
|
@Configuration |
|
|
|
@Slf4j |
|
|
|
@Slf4j |
|
|
|
public class MqttProviderConfig { |
|
|
|
public class MqttProviderConfig { |
|
|
|
@Value("${spring.mqtt.username}") |
|
|
|
// @Value("${spring.mqtt.username}")
|
|
|
|
private String username; |
|
|
|
private String username; |
|
|
|
|
|
|
|
|
|
|
|
@Value("${spring.mqtt.password}") |
|
|
|
// @Value("${spring.mqtt.password}")
|
|
|
|
private String password; |
|
|
|
private String password; |
|
|
|
|
|
|
|
|
|
|
|
@Value("${spring.mqtt.url}") |
|
|
|
// @Value("${spring.mqtt.url}")
|
|
|
|
private String hostUrl; |
|
|
|
private String hostUrl; |
|
|
|
|
|
|
|
|
|
|
|
/* @Value("${spring.mqtt.client.id}") |
|
|
|
/* @Value("${spring.mqtt.client.id}") |
|
|
|