sane-city / wot-servient

W3C Web of Things implementation for Java
MIT License
29 stars 5 forks source link

MQTT subscriber example does not consider TD action Form broker information #1

Open hwalzel opened 4 years ago

hwalzel commented 4 years ago

observed behavior: MQTT client subscribes and publishes to broker as specified in the reference.conf file

expected behavior: MQTT client subscribes and publishes to broker as specified in the consumed TD

HeikoBornholdt commented 4 years ago

Yes, this is a known limitation of the current MQTT binding. Unfortunately, we mention this limitation only in the source code: (https://github.com/sane-city/wot-servient/blob/master/wot-servient-binding-mqtt/src/main/java/city/sane/wot/binding/mqtt/MqttProtocolClient.java#L28)