I successfully setup pubsubclient to send messages to my remote MQTT broker (RabbitMQ), but when I publish a message it is published multiple times on the broker (RabbitMQ does not support QoS2).
I'm using PublishJSON, the content is correctly received by the broker but it is received multiple times. This is the code, topic is a String and object is a JsonObject&:
Hi,
I successfully setup pubsubclient to send messages to my remote MQTT broker (RabbitMQ), but when I publish a message it is published multiple times on the broker (RabbitMQ does not support QoS2). I'm using PublishJSON, the content is correctly received by the broker but it is received multiple times. This is the code, topic is a String and object is a JsonObject&:
Any idea why the message is sent multiple times?
Thanks