Class MqttProperties

java.lang.Object
org.springframework.cloud.fn.common.mqtt.MqttProperties

@Validated @ConfigurationProperties("mqtt") public class MqttProperties extends Object
Generic mqtt connection properties.
Author:
Janne Valkealahti, Artem Bilan
  • Constructor Details

    • MqttProperties

      public MqttProperties()
  • Method Details

    • getUrl

      @Size(min=1) public @Size(min=1) String[] getUrl()
    • setUrl

      public void setUrl(String[] url)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • isCleanSession

      public boolean isCleanSession()
    • setCleanSession

      public void setCleanSession(boolean cleanSession)
    • getKeepAliveInterval

      public int getKeepAliveInterval()
    • setKeepAliveInterval

      public void setKeepAliveInterval(int keepAliveInterval)
    • getConnectionTimeout

      public int getConnectionTimeout()
    • setConnectionTimeout

      public void setConnectionTimeout(int connectionTimeout)
    • getPersistence

      public String getPersistence()
    • setPersistence

      public void setPersistence(String persistence)
    • getPersistenceDirectory

      public String getPersistenceDirectory()
    • setPersistenceDirectory

      public void setPersistenceDirectory(String persistenceDirectory)
    • getSslProperties

      public Map<String,String> getSslProperties()