I have figured out that when my OPC UA server restarts then my Milo OPC UA Client (sdk-client 0.5.3) is automatically doing a reconnect to the server, that's nice! But subscriptions do not do a re-subscribe.
So, is there an option for the subscription or the SubscriptionManager to do this re-connect internally and automatically?
Or do I have to do this by my own? I have read about addSubscriptionListener and do this onSubscriptionTransferFaild - but this is the wrong place, because this is when the connection gets lost - the re-subscribe will fail - the reconnect should be done when the OPC UA connection comes up again. Where would be the best place to do this reconnects? Is there some listener which fires when the client reconnects to the server?