Package de.smartsquare.starter.mqtt
See: Description
-
Class Summary Class Description MqttAutoConfiguration Main entry point for the spring autoconfiguration. MqttConnector Base class for connectors implementing common logic. Mqtt3Connector Class responsible for connecting a client (mqtt 3) and subscribing to collected topics. Mqtt5Connector Class responsible for connecting a client (mqtt 5) and subscribing to collected topics. MqttConfigurationException Exception thrown when invalid methods with MqttSubscribe are found. MqttBrokerConnectException Exception thrown when the connection to mqtt broker fails. MqttMessageException Exception thrown when processing a single mqtt message fails. MqttGracefulExecutor Executor subclass implementing SmartLifecycle to wait for active tasks during stop. MqttHandler Class for consuming and forwarding messages to the correct subscriber. DefaultMqttMessageAdapter Adapter class with methods for converting from and to mqtt payloads. MqttMessageErrorHandler Class responsible for handling errors happening during message delivery. MqttProperties Properties for connection to the mqtt broker. Mqtt3PublishContainer Container class for Mqtt3Publish instances. Mqtt3Publisher Class with convenience methods for publishing a message on the mqtt broker. Builder Fluent builder for PublishingOptions. PublishingOptions Options for publishing a message. Mqtt5Publisher Class with convenience methods for publishing a message on the mqtt broker. ResolvedMqttSubscriber Data class representing a subscriber method annotated with MqttSubscribe. MqttSubscriberCollector Helper class to find all beans with methods annotated with MqttSubscribe. MqttVersionValidator Custom validator for the mqtt version, enabled by the MqttVersion annotation. -
Interface Summary Interface Description Mqtt3ClientConfigurer Interface to enable more advanced configuration for the Mqtt3ClientBuilder than what is possible with the properties. Mqtt5ClientConfigurer Interface to enable more advanced configuration for the Mqtt5ClientBuilder than what is possible with the properties. MqttMessageAdapter Class responsible for adapting from and to mqtt messages. MqttPublishContainer Common interface for classes wrapping the Mqtt*Publish classes of the mqtt client. -
Enum Summary Enum Description MqttShutdown Configuration for shutting a mqtt processor. -
Annotation Summary Annotation Description MqttSubscribe Marker annotation for methods that should receive messages from the mqtt broker. MqttVersion Annotation to mark properties or fields to be validated as a mqtt version.