Class MqttEventBindingProperties
java.lang.Object
org.chenile.configuration.mqtt.MqttEventBindingProperties
Binds MQTT topics to Chenile events (prefix
chenile.mqtt). A message that arrives on a bound topic
raises the Chenile event, so every operation subscribed to it runs, exactly as for Kafka, Azure Event Hub and
JVM pub-sub. Bindings are opt-in: with none configured, MQTT carries only @ChenilePubSub invocations.
chenile:
mqtt:
qos: 1
topic-bindings:
"[devices/telemetry]": telemetryReceived
Topics are matched exactly; MQTT wildcards are not supported in bindings.-
Field Details
-
topicBindings
-
qos
private int qos
-
-
Constructor Details
-
MqttEventBindingProperties
public MqttEventBindingProperties()
-
-
Method Details
-
getTopicBindings
-
setTopicBindings
-
getQos
public int getQos() -
setQos
public void setQos(int qos)
-
CHENILE