Java org.springframework.integration.mqtt.inbound MqttPahoMessageDrivenChannelAdapter fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

MqttPahoMessageDrivenChannelAdapter(String clientId, MqttPahoClientFactory clientFactory, String... topic)
Use this constructor if the server URI(s) are provided by the MqttConnectOptions#getServerURIs() provided by the MqttPahoClientFactory .
MqttPahoMessageDrivenChannelAdapter(String url, String clientId, String... topic)
Use this URL when you don't need additional MqttConnectOptions .

Method

voidafterPropertiesSet()
voidconnectionLost(Throwable cause)
voidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
voidsetBeanFactory(BeanFactory beanFactory)
voidsetCompletionTimeout(long completionTimeout)
Set the completion timeout for operations.
voidsetConverter(MqttMessageConverter converter)
voidsetOutputChannel(MessageChannel outputChannel)
voidsetQos(int... qos)
Set the QoS for each topic; a single value will apply to all topics otherwise the correct number of qos values must be provided.
voidsetRecoveryInterval(int recoveryInterval)
The time (ms) to wait between reconnection attempts.
voidsetTaskScheduler(TaskScheduler taskScheduler)
Configure a TaskScheduler for those components which logic relies on the scheduled tasks.
voidstart()
voidstop()