MqttRouter

class MqttRouter(collector: AnnotationCollector, adapter: MqttMessageAdapter, config: MqttProperties, client: Mqtt3Client) : InitializingBean

Helper class that subscribes to the mqtt broker and routes received messages to the configured subscribers (methods annotated with MqttSubscribe).

Constructors

MqttRouter
Link copied to clipboard
fun MqttRouter(collector: AnnotationCollector, adapter: MqttMessageAdapter, config: MqttProperties, client: Mqtt3Client)

Functions

afterPropertiesSet
Link copied to clipboard
open override fun afterPropertiesSet()

Sources

jvm source
Link copied to clipboard