hello
I'm working with MQTT and really enjoying it.
Now I'm on estuando DisconnectedBufferOptions, but when I use it
always gets the last recorded message with sb-0.
public void persistBufferedMessage (MqttWireMessage message) {
final String methodName = "persistBufferedMessage";
String key = getSendBufferedPersistenceKey (message);
getSendBufferedPersistenceKey always returns 0.
then the method overwrites the ultimamensagem buffer.
Can someone help me please?
My settings
qos1
retained = true
cleanSession = false
autoReconnected = true
Thank you very much.