In my case, I was creating a ReconnectTask to connect to my WebSocket server. Here I noticed that the method start() or startInternal() in the abstract class ConnectionManagerSupport always sets the boolean running to true. And it does this even if the connection could not be established. This means that it is not possible to add a retry-handling if the method start() or startInternal() can successfully establish the connection to the server.
But to be able to check yourself if the connection was successfully established you need access to the method isConnected().
But if there is another way to enable retry-handling for the connection to the server, an answer would help me.
Comment From: pivotal-cla
@npriebe Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.