Java org.springframework.integration.mqtt.core DefaultMqttPahoClientFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.integration.mqtt.core DefaultMqttPahoClientFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.integration.mqtt.core DefaultMqttPahoClientFactory.

The text is from its open source code.

Constructor

Method

MqttConnectOptionsgetConnectionOptions()
voidsetCleanSession(Boolean cleanSession)
Set the cleanSession.
voidsetConnectionOptions(MqttConnectOptions options)
Set the preconfigured MqttConnectOptions .
voidsetConnectionTimeout(Integer connectionTimeout)
Set the connectionTimeout.
voidsetConsumerStopAction(ConsumerStopAction consumerStopAction)
Set the consumer stop action.
voidsetKeepAliveInterval(Integer keepAliveInterval)
Set the keepAliveInterval.
voidsetPassword(String password)
Set the password.
voidsetPersistence(MqttClientPersistence persistence)
Set the persistence to pass into the client constructor.
voidsetServerURIs(String... serverURIs)
Use this when using multiple server instances, for example when using HA.
voidsetSocketFactory(SocketFactory socketFactory)
Set the socketFactory.
voidsetSslProperties(Properties sslProperties)
Set the sslProperties.
voidsetUserName(String userName)
Set the userName.
voidsetWill(Will will)
Will be used to set the "Last Will and Testament" (LWT) for the connection.