| Package | Description |
|---|---|
| com.mulesoft.connectors.mqtt3.internal.connection | |
| com.mulesoft.connectors.mqtt3.internal.routing |
| Modifier and Type | Method and Description |
|---|---|
void |
MQTT3Connection.registerMessageHandler(List<Topic> topics,
MQTT3MessageHandler messageHandler)
Registers a
MQTT3MessageHandler locally for the provided topics without subscribing to the broker. |
void |
DefaultMQTT3Connection.registerMessageHandler(List<Topic> topics,
MQTT3MessageHandler messageHandler)
Registers a
MQTT3MessageHandler locally for the provided topics without subscribing to the broker. |
void |
MQTT3Connection.unsubscribeListenerFromTopics(List<Topic> topics,
MQTT3MessageHandler messageHandler)
De-registers the provided
MQTT3MessageHandler from the list of provided topics. |
void |
DefaultMQTT3Connection.unsubscribeListenerFromTopics(List<Topic> topics,
MQTT3MessageHandler messageHandler)
Unsubscribes the client with the connection's client id from the provided list of
Topics. |
| Modifier and Type | Class and Description |
|---|---|
class |
MQTT3ForwardingMessageHandler
Represents an implementation of
MQTT3MessageHandler that
will forward the message to the handler as soon as it has arrived. |
| Modifier and Type | Method and Description |
|---|---|
List<Topic> |
MQTT3TopicRouter.deregisterCallbackForTopics(List<Topic> topics,
MQTT3MessageHandler messageHandler)
Receives a list of topics and the message handler to be removed from the registry.
|
List<Topic> |
MQTT3TopicRouter.registerCallbackForTopics(List<Topic> topics,
MQTT3MessageHandler messageHandler)
Receives a list of topics and the message handler to be invoked when messages for those topics are received.
|
| Constructor and Description |
|---|
MQTT3ForwardingMessageHandler(MQTT3MessageHandler messageHandler)
Returns an instance of a
MQTT3ForwardingMessageHandler |
Copyright © 2025 MuleSoft, Inc.. All rights reserved.