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