@Validated @ConfigurationProperties(value="mqtt") public class MqttProperties extends Object
Constructor and Description |
---|
MqttProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getConnectionTimeout() |
int |
getKeepAliveInterval() |
String |
getPassword() |
String |
getPersistence() |
String |
getPersistenceDirectory() |
Map<String,String> |
getSslProperties() |
@Size(min=1) String[] |
getUrl() |
String |
getUsername() |
boolean |
isCleanSession() |
void |
setCleanSession(boolean cleanSession) |
void |
setConnectionTimeout(int connectionTimeout) |
void |
setKeepAliveInterval(int keepAliveInterval) |
void |
setPassword(String password) |
void |
setPersistence(String persistence) |
void |
setPersistenceDirectory(String persistenceDirectory) |
void |
setUrl(String[] url) |
void |
setUsername(String username) |
@Size(min=1) public @Size(min=1) String[] getUrl()
public void setUrl(String[] url)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public boolean isCleanSession()
public void setCleanSession(boolean cleanSession)
public int getKeepAliveInterval()
public void setKeepAliveInterval(int keepAliveInterval)
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public String getPersistence()
public void setPersistence(String persistence)
public String getPersistenceDirectory()
public void setPersistenceDirectory(String persistenceDirectory)
Copyright © 2022. All rights reserved.