Example usage for Java org.springframework.integration.mqtt.inbound MqttPahoMessageDrivenChannelAdapter fields, constructors, methods, implement or subclass
The text is from its open source code.
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 . |
void | afterPropertiesSet() |
void | connectionLost(Throwable cause) |
void | setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void | setBeanFactory(BeanFactory beanFactory) |
void | setCompletionTimeout(long completionTimeout) Set the completion timeout for operations. |
void | setConverter(MqttMessageConverter converter) |
void | setOutputChannel(MessageChannel outputChannel) |
void | setQos(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. |
void | setRecoveryInterval(int recoveryInterval) The time (ms) to wait between reconnection attempts. |
void | setTaskScheduler(TaskScheduler taskScheduler) Configure a TaskScheduler for those components which logic relies on the scheduled tasks. |
void | start() |
void | stop() |