eclipse-paho / eclipse-paho/paho.mqtt.java

'setAutomaticReconnect' not reconnection, when broker is initially not available

Open
#930 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

When using `connOpts.setAutomaticReconnect(true)` I was expecting, that the client also remains trying to connect to the broker, when the broker was not available on the first try.
But for me the automatic reconnect just works, when the broker become unavailable during runtime.

Is that intended behavior?

Thanks

I am using: "org.eclipse.paho" % "org.eclipse.paho.client.mqttv3" % "1.2.5",

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.