I'm currently sending Mqtt Messages with Quarkus using smallrye reactive messsaging,the problem is when i add retain flag to true,nothing change.
Here is how i do it:
@Broadcast
@Channel("myChannel")
Emitter<MyObject> emitter;
emitter.send(MqttMessage.of("/mytopic",data,MqttQoS.EXACTLY_ONCE,true));
any help or guidance will be appreciated