Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.16.0
-
Fix Version/s: None
-
Component/s: camel-paho
-
Labels:None
-
Estimated Complexity:Unknown
Description
Currently PahoEndpoint allows to set the QoS option.
But the boolean retained is a basic MQTT protocol feature that should be implemented.
Like in the Paho publish method:
org.eclipse.paho.client.mqttv3.MqttClient
#publish(String topic, byte[] payload, int qos, boolean retained)
Additionally it would be nice to have the MqttConnectOptions of setWill as also "Last Will and Testament" (LWT) is a basic protocol feature.