Class MqttProperties
java.lang.Object
org.springframework.cloud.fn.common.mqtt.MqttProperties
Generic mqtt connection properties.
- Author:
- Janne Valkealahti, Artem Bilan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
@Size(min=1) String[]
getUrl()
boolean
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
void
setUsername
(String username)
-
Constructor Details
-
MqttProperties
public MqttProperties()
-
-
Method Details
-
getUrl
-
setUrl
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
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
-
setPersistence
-
getPersistenceDirectory
-
setPersistenceDirectory
-
getSslProperties
-