Skip to content
Advertisement

Tag: mosquitto

HiveMQ Java library fails to automatically reconnect to broker

I’m using the HiveMQ library in my Java Spring application to connect to a Mosquitto instance as I find it more user-friendly compared to the Paho client. But something is going wrong with the automatic reconnection. From time to time the connection is lost and the application doesn’t succeed in reconnecting (see logs 1). This can also be triggered by

Advertisement