Add support in Java client for notification/monitoring of connection problems
geglock opened this issue · 3 comments
geglock commented
The Java client establishes a WebSocket connection to the Ditto back end and automatically re-connects this connection in case of problems. This is fine, but it is done invisible to my application that uses the client. This means, that my application cannot monitor such connection problems and alert if they are critical. During re-connects some (optionally) important thing events could also be missed.
It would be good to have a possibility to configure a callback/event handler to get informed about such connectivity problems - even so they are compensated by automatic re-connects.